New answers tagged timeout
To answer no to any question add -qq option to a command. When using --force/--yes you should double check what is the script doing. +1 to Karen B's suggestion to use expect.
Whyever this fails (my assumption would be lvresize ignoring the TERM signal), this a terrible approach, as lvresize's real task might take that long and you really don't want to kill it while it works. Instead, ask for confirmation separately (with timeout if need be) and then run lvresize uninterrupted.
You have set up pm.max_children to 30, which means that there can be only 30 concurrent PHP scripts running at the same time. When more users visit your sites, there aren't any free PHP processes to serve the request. nginx waits for some time, before returning the 504 Gateway Time-out error. You seem to have plenty of free memory, as your cached column ...
No. Since the drive is damaged, it has bad sectors and all I/O operations fail on those bad sectors. chkdsk can only repair logical filesystem issues, not physical issues.
Ok, figured out the issue. The default settings of MS Sql use all cores of the server to execute large queries. We have large reads so it was stacking up a long line of queries waiting to be processed. To fix it, I set the Max Degree of Parallelism to be 2 cores instead of unlimited (8 in our server) and I set the Cost Threshold of Parallelism to 10 (...
AFAIK, syslog-ng will automatically close the connections after a period of inactivity, unless the so_keepalive() option is enabled in the source (the server) or the destination (the client). If you still see activity in the connections, try to set the mark_freq() option to 0.
You should use "0" and not "-1". REF: http://stackoverflow.com/questions/15776400/make-script-execution-to-unlimited
Get rid of the persist-tun option. Without that option, then the VPN link goes down, the tun device will close and be removed. The problem of course is that removing that option means that you need to run your VPN daemon as root instead of nobody. Because as nobody account, OpenVPN will not be able to create a new tun device when the connection is re-...
Top 50 recent answers are included