/srv/irclogs.ubuntu.com/2011/02/09/#upstart.txt

twbthe varnish sysvinit script does "ulimit -n ${NFILES:-131072}" and "ulimit -l ${MEMLOCK:-82000}", to increase process limits.03:30
twbWhen translating that to an upstart job, would they go in pre-start script, or what?03:30
twbNever mind, I don't care.  increasing ulimits isn't permitted in my varnish container in any case, because it doesn't have CAP_SYS_ADMIN.03:35
JanCtwb: upstart also has a "limit" stanza03:39
* twb reads upstart(7) manpage03:40
JanCit's in upstart(5)  ;)03:40
twbAh, cool.  I didn't realize that was there03:40
JanCand I meant init(5) of course  ;)03:58
twbhttp://paste.debian.net/106987/03:59
twbHow does that look (for lucid)?04:00
twbAdd a update-rc.d varnish remove in there, too04:01
SpamapStwb: you have to specify the soft and hard limit06:34
twbDoesn't matter now; it turns out varnish can't do HTTPS, so I lost interests06:35
SpamapSbummer06:35
twbNow I'm trying to learn enough apache to make it authenticate against PAM06:35
twbIt turns out the old server was using mod_perl's "PerlAuthenHandler Apache::AuthenNIS"... yeesh06:36
SpamapSsounds like a classic06:36
twbAFAICT I can point apache directly at slapd (which might work), but I can't say "just trust pam like a normal bloody package"06:37
SpamapSmod_auth_pam has worked for me in the past06:53
twbApparently it's unmantained06:54
sorenStuff that uses pam for authentication also often needs root privs.08:25
sorenSomething I'd rather not bestow upon a web server.08:26
twbgranted08:31
twbFWIW, mod_authnz_ldap worked perfectly (to my immense surprise)08:32
SpamapSok, I know its time for bed when I see jhunt signing on09:48
SpamapSjhunt: given any thought to that ureadahead bug about not having a writable /var/lib/ureadahead ?17:47
jhuntSpamapS: I like the idea of sending a signal. Maybe we can contrive a nasty test to see how big we can make the packs. keybuk has mentioned that the fix for bug 523484 might work but isn't optimal since by the time /var (separate partition) is mounted, ureadahead will have lost the opportunity to consider reads for libc, etc.17:55
SpamapSRight...17:56
* jhunt double-takes17:56
jhuntbed? no. dinner yes :)17:56
SpamapSI'll post my ideas about the implementation of the signal idea in the bug report. You're off to dinner then?17:57
jhuntin a few mins. back l8r prolly...17:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!