smtc0097 / mysql-cacti-templates

Automatically exported from code.google.com/p/mysql-cacti-templates
GNU General Public License v2.0
0 stars 0 forks source link

flock can cause a choke #150

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
sometimes flock will waiting forever, and cause one more process waiting every 
5 minutes. When this happen, the memory of cacti machine will be exhausted.

I have add LOCK_NB option to the flock call to avoid block (in my system), I 
will check whether this works.

Original issue reported on code.google.com by lidaob...@gmail.com on 29 Jun 2010 at 2:00

GoogleCodeExporter commented 8 years ago
Does this work for you?

Original comment by baron.schwartz on 15 Jan 2011 at 6:55