PCNTL lock files not removed

dstevens

New Member
Recently did an update to 2.1.19 and now I have a much slower sending speed. Lots of info on how to debug that... but one issue I ran into is I'm piling up PCNTL lock files in apps/common/runtime/mutex

They don't seem to ever go away. Should they?

The other server that is still running the version I upgraded from, 1.5.0, has these lock files, but they number in the 10's, not in the thousands.

I have renamed the mutex directory, it rebuilt it and started adding them in again, still not seeming to delete them at all.

I'm not even sure if this is a problem, but with almost 50,000 lock files from the last 3 days, it seems to be at least a concern.
 
2.x does more work in parallel, which means we need some sync primitives, like a mutex. The result is we can have a high number of those pilling up pretty quick especially if you are sending a lot.
The daily command will remove old mutex files, older than 3 days, so you should not worry about this if you run a busy system.
 
Good to know, thanks.
I did notice none were older than 3 days, but that was also about the same number of days I've been running the new version. Coincidence.....
 
Back
Top