Comment #2 on issue 240 by [email protected]: -d with local -P fail
http://code.google.com/p/memcached/issues/detail?id=240

Pinging back here...

The reason why a local pidfile doesn't work with daemonize is because it chdir's to / after fork'ing, unless you specify a nonzero maxcore.

So giving it a full path will still work... and -P already works without -d.

I'm trying to convince myself to not punt for another release, but I might. Doing this correctly is a fair amount of rewiring and we're about to look at the 1.6 tree again, so I'd like to avoid writing even more core code to port.

IE: We'd have to keep the parent process around listening on a pipe and shuttle errors/commands around, which means we can't call perror anymore, blah blah.

Reply via email to