network share kills my server
Posted: Sat Nov 07, 2009 8:42 pm
Hello,
(Please move my post if there is a better location)
I have made ajax application to read a file (php) from a network share (linux to windows, windows has the file). Then it is displayed on a web page.
For about 4 months, we have been experiencing server troubles (mainly mysql keeps going down) and I have narrowed this to this application. I am polling the file every 10 seconds, then storing the values in mysql (for persistant data for time until the file is read again).
I am in search of a 'better' way of achieving the same result. Mainly so my other services aren't constantly being brought down.
Thanks
Daniel
(Please move my post if there is a better location)
I have made ajax application to read a file (php) from a network share (linux to windows, windows has the file). Then it is displayed on a web page.
For about 4 months, we have been experiencing server troubles (mainly mysql keeps going down) and I have narrowed this to this application. I am polling the file every 10 seconds, then storing the values in mysql (for persistant data for time until the file is read again).
I am in search of a 'better' way of achieving the same result. Mainly so my other services aren't constantly being brought down.
Thanks
Daniel