gamin eats too much CPU cycles
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gamin |
Incomplete
|
Undecided
|
Unassigned | ||
gamin (Nexenta Operating System) |
Fix Committed
|
Undecided
|
Unassigned | ||
gamin (Ubuntu) |
Invalid
|
Medium
|
silap |
Bug Description
This bug is recorded in Nexenta Bug Tracking System (NTBS) as:
http://
The gamin 0.1.5 does not seem to work well at all on Solaris platform. For some reasons the clients are sitting in a tight loop through the request API, which could be related to either bugs in the gamin library or the daemon itself in handling the requests.
The backend we are using is gam_server's generic poll (that is, gam_client_
A workaround which is currently used today is to disable the gamin library, such that a bogus error is returned to the client upon processing a request. This has the effect of stopping further requests from the clients.
Here's the corresponding patch:
Index: gnusolaris1/
=======
--- gnusolaris1/
+++ gnusolaris1/
@@ -220,4 +220,9 @@
int ret;
GamConnDataPtr conn = (GamConnDataPtr) info;
+
+#ifdef __GNU_Solaris__
+ /* not implemented */
+ return (FALSE);
+#endif
if ((condition == G_IO_HUP) || (condition == G_IO_NVAL) ||
The other workaround would be to compile the GNOME components with any FAM support
Changed in gamin: | |
status: | Unknown → Fix Released |
Changed in gamin (Ubuntu): | |
assignee: | Ubuntu GNOME (ubuntu-gnome) → silap (silap) |
Thanks for your bug. This should probably be reported on bugzilla.gnome.org for the upstream developper of the software