Reboot Server Script: Automating Server Restarts for Improved Uptime and Maintenance In any production environment, maintaining system uptime and ensuring your servers are running efficiently are critical components of an IT professional’s responsibilities. Sometimes, servers need to be rebooted to apply updates, clear memory, resolve issues, or improve overall performance. While manually rebooting a server can be a straightforward task, automating this process with a script can save time and reduce human error. In this article, we will walk you through how to write and use a reboot server script to automate the reboot process on various server environments, including Linux and Windows servers. WhyRead More →

I have been struggling with my powershell script , i write a content variable to a file using Out-File $data.jar_cookie_content | Out-File -FilePath $cookie_file What’s wrong with this? i checked the output file using the text editor , they look exactly the same content of the variable. Initially, i thought the problem is from my other program , some ow it doesn’t accept this data. After 1/2 day troubleshooting i realized the filesize was double than its original content. I finally fixed it with this: $data.jar_cookie_content | Out-File -FilePath $cookie_file -encoding ASCIIRead More →

There are 2 options in sitespeed we don’t see in the documentation is : –browsertime.retries 2 –browsertime.retryWaitTime 2000 -browsertime.retries : when a browser is unable to load, this is the number of time we wait –browsertime.retryWaitTime : time to wait each time (in ms)Read More →

We use Graphite to store time series metrics for Sitespeed run result. Each of Sitespeed page result data contains more than 500 metrics. It’s interesting that we only see the metrics after a few days. We checked all the logs and don’t see any network issues. We only see the root cause when we built a dashboard to see some graphites internal metrics. As you can see , the number of metrics created was very low while the drop was very high? Why there are so many drops? It turns out that in graphite we have a configure So, it only create 50 metrics perRead More →