WineHQ
Wine Forums

Board index » WineHQ » Wine Help » Linux




 Page 1 of 1 [ 5 posts ] 



 
Author Message
 Post subject: Wine process killing
 Post Posted: Sun Aug 04, 2019 10:12 pm 
Offline
Level 1
Level 1

Joined: Sat Jul 20, 2019 2:47 am
Posts: 6
Occasionally when running applications in wine, wine will hang or lockup my Xenvironment.

Its necessary at that point to switch to another tty, and kill the processes manually and then manually cleanup the environment.
Its a lot of manual effort and this usually involves a lot of kill -9 signals to cleanup defunct processes.

Is there a way to kill the parent process (wine-server) and have the other child processes exit cleanly.

I've tried a number of different ways and inevitably I end up with defunct processes that requires manual cleanup.

Under Windows this isn't really a problem since once a parent process exits or is closed all child processes exit.
On Linux the behavior is different and init becomes the new parent ID for these processes if wine-server is unable to exit cleanly.

Does anyone know of a way to minimize this cleanup effort?
Is this something that would need to be addressed with the Developer Mailing list?


Top 
 Post subject: Re: Wine process killing
 Post Posted: Mon Aug 05, 2019 1:12 pm 
Offline
Level 7
Level 7
User avatar

Joined: Tue Nov 22, 2016 5:39 pm
Posts: 842
Did you already try "wineserver -k"? Because that kills ALL wine processes fairly cleanly.


Top 
 Post subject: Re: Wine process killing
 Post Posted: Tue Aug 06, 2019 6:26 am 
Offline
Level 1
Level 1

Joined: Sat Jul 20, 2019 2:47 am
Posts: 6
Thanks, I wasn't aware of that flag. That seemed to fix it...

Edit: I spoke too soon, it seemed to help with cleanup initially but when I tested it just now from a clean state its not actually killing processes for a running wineserver just seemed to help with clearing up some of the Coherant_UI procs that normally become defunct.


Top 
 Post subject: Re: Wine process killing
 Post Posted: Tue Aug 06, 2019 1:21 pm 
Offline
Level 7
Level 7
User avatar

Joined: Tue Nov 22, 2016 5:39 pm
Posts: 842
Do the processes run in the default WINEPREFIX? Because "wineserver -k" also needs to know the WINEPREFIX.


Top 
 Post subject: Re: Wine process killing
 Post Posted: Tue Aug 06, 2019 4:48 pm 
Offline
Level 1
Level 1

Joined: Sat Jul 20, 2019 2:47 am
Posts: 6
Thanks. My installation does not use the default WINEPREFIX. Passing the correct WINEPREFIX solved the issues with cleanup.

Thanks again.


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 5 posts ] 




Board index » WineHQ » Wine Help » Linux


Who is online

Users browsing this forum: Google [Bot] and 20 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: