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
- Labour’s plan to regulate umbrella companies: a closer look Nov 21 09:24
- When HMRC misses an FTT deadline but still wins another CJRS case Nov 20 09:20
- How 15% employer NICs will sting the umbrella company market Nov 19 09:16
- Contracting Awards 2024 hails 19 firms as best of the best Nov 18 09:13
- How to answer at interview, ‘What’s your greatest weakness?’ Nov 14 09:59
- Business Asset Disposal Relief changes in April 2025: Q&A Nov 13 09:37
- How debt transfer rules will hit umbrella companies in 2026 Nov 12 09:28
- IT contractor demand floundering despite Autumn Budget 2024 Nov 11 09:30
- An IR35 bill of £19m for National Resources Wales may be just the tip of its iceberg Nov 7 09:20
- Micro-entity accounts: Overview, and how to file with HMRC Nov 6 09:27
Comment