Reputation
388
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 8 22
Impact
~64k people reached

Nov
22
asked Where to start with diagnosis of dropped network connectivity on Debian?
Nov
5
accepted Ulimit file descriptor limits not being applied for particular process
Nov
5
comment Ulimit file descriptor limits not being applied for particular process
Thanks. It uses --chuid redis:redis on start-stop-daemon. I've added the ulimit to the startup script now.
Nov
5
comment Ulimit file descriptor limits not being applied for particular process
Great summary Kannan! I've now gone ahead and added the ulimit to the startup script. It's a pity there is no way of just setting the limit for the user which will work with deamonised processes (as we have multiple startup scripts), but this works. Thank you!
Nov
4
comment How to check current TCP Congestion Window on Linux?
Ah, indeed it was 10 :)
Nov
4
accepted How to check current TCP Congestion Window on Linux?
Nov
4
comment How to check current TCP Congestion Window on Linux?
Ok thanks - I'll try to get the source, although this is a custom build for a Xen VPS. A pity it's not exposed to the users. Thanks for providing a definitive answer though.
Nov
4
comment Ulimit file descriptor limits not being applied for particular process
Thanks. I suspected that wasn't quite right. The process is being started this line in an init.d script : if start-stop-daemon --start --quiet --umask 007 --pidfile $PIDFILE --chuid redis:redis --exec $DAEMON -- $DAEMON_ARGS. Which pam would be appropriate in this case?
Nov
4
comment Ulimit file descriptor limits not being applied for particular process
Thanks - I'll consider raising the fs.file-max value then. Regarding pam - I believe we are using this (I've added some extra config to the question). I'm not really sure I understand PAM though, as our settings seem to be relate to SSH, which is not used by this user. Is there any other file I need to configure? I could always put a ulimit setting in the init scripts for redis, but would rather not have to do this.
Nov
4
revised Ulimit file descriptor limits not being applied for particular process
added 119 characters in body
Nov
4
asked Ulimit file descriptor limits not being applied for particular process
Nov
4
comment How to check current TCP Congestion Window on Linux?
Thanks. Still would like to be able to verify though.
Nov
4
comment How to check current TCP Congestion Window on Linux?
Yes, that only shows the value if you have changed it yourself unfortunately. I'm looking for a way of finding the current value regardless of whether or not it was changed.
Nov
4
revised How to check current TCP Congestion Window on Linux?
added 3 characters in body
Nov
4
asked How to check current TCP Congestion Window on Linux?
Nov
4
comment linux initcwnd and initrwnd via /etc/sysctl.conf
What if its a different interface that you want to change the setting of, other than the default one?
Nov
3
comment Recommended TCP keepalive settings for a busy server
Hmm, not sure - I'll look into that, thanks!
Nov
3
comment Recommended TCP keepalive settings for a busy server
Redis holds all of its data in memory (we don't even have disk snapshotting enabled). Average response times from both servers are in the milliseconds. Yeah, there must be something odd going on, but not sure what yet.
Nov
3
comment Recommended TCP keepalive settings for a busy server
Specifically I'm seeing this from an app server communicating with a redis server. Neither server is stressed or responding slowly though.
Nov
3
comment Recommended TCP keepalive settings for a busy server
At the application level these errors are 'read ETIMEDOUT', but I'm not sure how I'd give you any lower-level info than that.