|
I'm =not convinced moving to Mac will fix this.When we =were still on Mac servers we had a similar situation with a busy =PHP/MySQL site (not Vbulletin though). It turned out to be a =combination of two main issues...1) MySQL =would dump the expired query cache for a query that got a lot =of requests (as it should the data had been updated and the cache was =old) but it took too long to process and a queue of the same big query =quickly built up from which it could not recover, just as you =describe.
2) A slow query that would lock a table and cause the same =avalanche but of different queries. I know you looked at slow =queries but you need to separate out what is a real slow query and what =are normal queries just taking an age because the server is bogged down. =In your slow query log the problem should be one of the first queries =that are logged just before sit all goes haywire. We often spent the day =watching live queries using Sequel Pro or similar apps to pin it =down
Another option =which might help (which we did) is to split the MySQL off onto it's own =serverPaul
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOn 25 =Apr 2013, at 15:23, Alex McCombie <info@adventureskies.com> =wrote:Our =box running webmin / Apache/ MYSQL / PHP which contains 5 Vbulletin =forums on it has been suffering from an ongoing and maddening problem =where seemingly random times the connections will suddenly start =stacking up until it maxes out and becomes unresponsive. It will go from =5-15 requests to 150 (or whatever I assign the max to) in a matter of =minutes (or seconds depending on traffic) =85 all usually in a Waiting =for Connection state as if MYSQL is no longer responding.. but it =reports no locked tables. The slow query report turns out to be no help =because it shows queries that would normally be 1 second taking up to 60 =seconds each=85 which means that MYSQL is accepting the connections but =query time suddenly became insane.---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOther than letting =it sit unusable for 15-20 min, an apache restart is needed to resolve =the problem. No backup or update routines scan be associated with =it.I have looked under every rock in the =configuration, had the VB tech people dig into it, and even hired TDS to =come in and crawl through the setup to do an optimization and find the =issue. NadaNobody has been able to. It's =not a hardware issue as this is the second box that I have tried and the =problem followed it.So at this point, I am =daily convinced it must be something with Webmin or Unbuntu =itself.Unfortunately I am =a DBA/dev and not a network admin, but even my server admin guys are =stumped.The machine its currently on =is:DELL POWEREDGE 2950 DUAL =5150 8GB MEM 4x 500GB SATA
Processor is dual processor, =dual core - Intel=AE Xeon=AE Processor 5150
(4M Cache, 2.66 GHz, 1333 MHz FSB)I serve about 3 million page =views per month on it but have become a slave to the damn =thing.So, I figured I would try and =go back into an environment I was a bit more familiar with .. =OSX, though admittedly I really wanted a GUI to manage thing and =even though Webmin is capable of running on OSX, I would rather look =elsewhere for a management GUI.The sudden =slowdowns are not associated with peak traffic, though peak traffic =makes the problem more likely to quickly escalate into an unresponsive =server.Anyway.. thats my =sad tale. Just looking to get the damn thing running solid =again.At this point I =am even considering hosting off site, which I have done in a decade. If =anyone has a setup to support this feel free to PM me. If the =pricing is right then maybe that can be something I try =too.On =Apr 24, 2013, at 10:54 AM, Paul Willis <paul.willis@me.com> =wrote:I'd =be interested to know what the PITA is with the Ubuntu box. We have been =moving from Apple servers to Ubuntu ever since the Xserve was =discontinued and have nothing but good things to say about =them.---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listPaulOn 24 =Apr 2013, at 15:15, Alex McCombie <info@adventureskies.com> =wrote:Hmm, good to know.---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listI am =going to buy the OSX server app later this week and install it on a test =machine. If I can get the server app running with MYSQL/PHP & DNA =without a ton of hassle then I will go ahead and buy the hardware for it =and migrate of the PITA ubuntu =box.:-).To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us .To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us .To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us .To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...