1

This question started initially as disk space issue, however, we nailed it down to gearman problem. It bombs own logfile with the following message:

  ERROR 2015-10-29 13:05:37.000000 [  main ] accept(Too many open files) -> libgearman-server/gearmand.cc:
788

so that the log file can grow up to 70 Gb in a day. I checked the worker code: we use node-gearman and properly close both mongodb connection and gearman worker process:

db.close();
worker.end();

In the application we close gearman connection as well:

gearman.close();

This question is similar to the other one, but there is no solution except for increasing ulimit restrictions. Even if we increase them, we don't know if we overcome the new ones soon. Need to get the reason of this.

Alexey
  • 49
  • 2
  • 16

1 Answers1

1

There is bug fixing of the issue in gearmand v1.1.16

See also group thread to the topic

palik
  • 140
  • 8