Re: gkrellmd problem
Stefan Gehn <[email protected]> Sat, 31 Dec 2011 16:26:14 +0100
| Newsgroups | gmane.comp.gnome.apps.gkrellm |
|---|---|
| Message-ID | <[email protected]> |
Hi, On 12/09/2011 10:09 AM, Andreas Hauffe wrote: > Dear Gkrellm developer, > > we have a problem with gkrellmd. We use gkrellm to check if a computer idles and can be used for calculations. On each computer gkrellm is startet with: > /usr/bin/gkrellmd --pidfile /var/run/gkrellmd.pid --user nobody --group nogroup --max-clients 50 --update-hz 4 --port 19150 --allow-host 192.0.0.* --io-timeout 0 --reconnect-timeout 0 -d > Disabling all timeouts is probably not a good idea, clients will never reconnect in case of network problems. > Then up to six or seven people open there gkrellm client and connect to that server (gkrellmd). After some time the gkrellmd server seems to leak. For up to 30 second the client will get no information. Atfer data is send to the client for about 5 seconds and so on. What are you referring to with "leak"? Does the gkrellmd process consume more memory over time or does it cause any high cpu-usage in this scenario? > What could be the problem? A reconnection of the client doesn't resolve the problem. Only a restart of the daemon. Can new clients actually connect to the server or will it stop accepting new connections? In theory, clients blocking eachother should not happen, all client-connections are set to non-blocking mode. I have started working on porting gkrellmd to GIO-based networking but the code hasn't been published yet. If you're willing to build gkrellmd yourself I can push the current work in January so you can try out wether it improves your situation. Bye, Stefan Gehn ______________________________________________ Gkrellm mailing list [email protected] Read archives-join-leave-set RSS feed: http://archive.lists.netservicesgroup.com This service is provided by The Network Services Group: http://www.netservicesgroup.com