Originally posted by xoggoth
View Post
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
test please delete
Collapse
This is a sticky topic.
X
X
Collapse
-
-
-
-
Just watched the last two episodes of Modus series 2, convinced the theme tune could almost belong in a Bond movie.
TFBSZ…Maybe we ain’t that young anymoreComment
-
I've been getting very confused tonight, because something was slinging task invocations into my Celery queue that used an old task that has now moved, and therefore the invocations failed. But none of the current code that invokes such tasks was using the old task.
In the end, I stopped all the background processes that might have anything to do with it, yet these task invocations still kept on coming. I had no idea where they might be coming from
Finally I grepped the process list - and lo and behold, no less than three processes were running the task-invoking code, all with a parent process ID of 1, and at least one of them clearly using the old task
It turns out that a process can get taken over by the root process if it's otherwise healthy but its parent process dies. At three points in the past, the supervisord process must have died and left these zombie processes running, which were of course unknown to the new instance of supervisord when it was restarted by systemd. (I don't even use supervisord any more - it's all under systemd now.)
So I killed the zombies gracefully, and everything went back to normal
Tomorrow, I'm going to implement my plan to just spin up a new server every few days and dispose of the old one. If I'd done that already, it would have saved me hours of digging around in Linux internals this evening
Goodnight allComment
-
-
-
-
Morning denizens
Grey out
BUT - and this constitutes "a nice change" - it isn't freezing coldComment
-
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Secondary NI threshold sinking to £5,000: a limited company director’s explainer Dec 24 09:51
- Reeves sets Spring Statement 2025 for March 26th Dec 23 09:18
- Spot the hidden contractor Dec 20 10:43
- Accounting for Contractors Dec 19 15:30
- Chartered Accountants with MarchMutual Dec 19 15:05
- Chartered Accountants with March Mutual Dec 19 15:05
- Chartered Accountants Dec 19 15:05
- Unfairly barred from contracting? Petrofac just paid the price Dec 19 09:43
- An IR35 case law look back: contractor must-knows for 2025-26 Dec 18 09:30
- A contractor’s Autumn Budget financial review Dec 17 10:59
Comment