You are not logged in.

#1 2016-01-25 02:32:11

JoccE
Member
Registered: 2014-06-26
Posts: 9

[SOLVED]Init creating defuncted processes

I have had Arch installed for 2+ years now and never had any problems i could not fix.

Lately i have s started getting defuncted process (Mostly SSH) with parent being init (PID 1)

I have googled and wikied and searched on Archlinux forums but cant seam to find any solution.
after a restart it works for 2-4 days then the problem starts up again.

I have tried updating the kernel and systemd.
Linux pajkanon-arch 4.3.3-3-ARCH #1 SMP PREEMPT Wed Jan 20 08:12:23 CET 2016 x86_64 GNU/Linux
Using XFCE4 (Latest)

journalctl shows nothing weird.

Current uptime is 4 Days and this is the amount of processes defuncted:
http://pastebin.com/d8nx5AFx

Been thinking as a last solution to just reinstall Arch since it has been 2 years, but better ask here first.

Last edited by JoccE (2016-01-29 12:03:26)

Offline

#2 2016-01-25 13:51:32

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED]Init creating defuncted processes

I would take a look at all the services (and sockets) you have enabled. Something seems to be running ssh as the user nobody, so that may provide some clue to the source of the problem. You might want to say how you got the output you show on pastebin as the columns are not labeled.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2016-01-25 17:36:27

JoccE
Member
Registered: 2014-06-26
Posts: 9

Re: [SOLVED]Init creating defuncted processes

The output is just a normal ps -ef

Here is all the services running:
http://pastebin.com/tmivg7n8

And i dont even have a user named nobody,

I do use SSHFS to mount a ssh remote folder tho.
its not only ssh processes tho, there are Python, File-roller, sub13, java and others

I think i get the defunct ssh ones after 1-2 days when ssh connections starts taking 10~ Sec to connect.
I cant check it now since i just rebooted, but with ssh -vvv there are no errors, just takes a long time.

and systemd seams to break with connection timeout errors:
Failed to reboot system via logind: Connection timed out
Failed to start reboot.target: Connection timed out

have to use restart -f to force it down

Offline

#4 2016-01-25 18:14:07

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,858
Website

Re: [SOLVED]Init creating defuncted processes

JoccE wrote:

i dont even have a user named nobody

Why not? That user is included as part of the filesystem package, so if you don't have it, you have either removed it yourself and not re-added it when you merge your pacnew files, or something has gone wrong with your installation.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#5 2016-01-25 18:34:30

JoccE
Member
Registered: 2014-06-26
Posts: 9

Re: [SOLVED]Init creating defuncted processes

WorMzy wrote:
JoccE wrote:

i dont even have a user named nobody

Why not? That user is included as part of the filesystem package, so if you don't have it, you have either removed it yourself and not re-added it when you merge your pacnew files, or something has gone wrong with your installation.

Hmm guess i will have to reinstall it then, sounds like the easy and fast solution.

Offline

#6 2016-01-25 20:05:47

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED]Init creating defuncted processes

The user must be there otherwise ps would not know how to map the uid to a name. The problem must be something else.

Did you truncate the output of 'systemctl list-unit-files'? I don't see sshd there but you must have it installed, otherwise you couldn't run it.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#7 2016-01-26 00:53:36

JoccE
Member
Registered: 2014-06-26
Posts: 9

Re: [SOLVED]Init creating defuncted processes

Ended up doing a quick reinstall.

Learnt a lot in the past 2 years so already it is better smile
Fixed some of the minor bugs i had, thanks tho @R00KIE

Offline

#8 2016-01-26 19:50:25

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED]Init creating defuncted processes

If you solved your problem then please edit your first post and prepend [Solved] to the title.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB