coldfusion - Railo websites can't connect during MySQL backup -
I have a weekly backup that runs for one of my websites (CCM) for a MySQL database. This backup is approximately 1.2 GB and takes approximately 30 minutes to run.
When this database runs back up, all my other railway websites can not connect to "Down" for the time of backup.
One of the errors I managed to achieve was:
"[show] railo.runtime.exp.RequestTimeoutException: Request (: 119) in timeout Runs (1200 seconds) and closed. Open locks at this time (c: /railo/webapps/root/ccms/parsed/photo.view.cfm, c: / railo / webapps / root / ccms / parsed /profile.view.cfm, c: /railo/webapps/root/ccms/parsed/album.view.cfm, c: /railo/webapps/root/ccms/parsed/public.dologin.cfm). " I believe that the required tables for those pages ("CCMS" website) are being locked due to backup,
But, that is the reason why the time is due to other railway websites? For example, the error I pasted above was actually taken from a different website, not the "CCMS" website which refers to the error in the website I try and run fails and an error Which references the "CCMS" website, which is backed up, how can I avoid this?
Any insights will be appreciated. Thanks
One possibility is that because your timeout can take 20 minutes, every time a request arrives The site that is being supported is waiting for DB.
In order to manage the requests, there is a pool of workers thread in Railo and now one of them is tied. As soon as the request persists, any request on the affected site binds to another thread. Eventually there are no more employees in the pool and all requests are queued after the start of the proceedings.
I am not an expert on debugging railways, but the above versions seem right to me. You may consider running separate railroad processes for individual sites, which will separate them or significantly reduce your DB timeout (if acceptable).
Comments
Post a Comment