allquixotic edited a comment on issue #206: GUACAMOLE-663: guacd SEGVs 
intermittently on systems with small(er) thread stack sizes
URL: https://github.com/apache/guacamole-server/pull/206#issuecomment-493984201
 
 
   My `ulimit -s` returns `8192` (I think it's Kbytes, so 8 MB) and I get 
general protection faults in session `guacd`s (not the parent `guacd`, though) 
somewhat intermittently. I set it to 65536 (for both hard and soft limit) and I 
still get intermittent GPFs. It's an "error:0 in libc-2.2.7.so" which could 
very well be a stack overflow, or it might be something else. Not sure.
   
   Would setting `ulimit -s 65536` before running `guacd` potentially fix this 
problem while this code is still being updated/reviewed? If so, I guess having 
this problem means my build either has a stack memory leak, or guacd actually 
needs much more than 8 MiB of stack to be stable, or `ulimit -s` isn't applying 
to guacd.
   
   Note: I am not using a systemd start script to launch guacd. I'm just typing 
`guacd` directly as root.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to