Forum: Ruby on Rails Can't restart memcached anymore

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Abb15966ecc84bd6d0aec5219ff54731?d=identicon&s=25 Justus Ohlhaver (justus)
on 2008-12-01 10:01
Hi,

My memcached has been working perfectly.

But all of a sudden I am not able to restart it anymore
(RAILS_ENV=production rake memcached:start),

getting this error message:


failed to set rlimit for open files. Try running as root or requesting
smaller maxconns value.


This has never happened before.

Does anyone know where and how to request a 'smaller maxconns value'?

(Running root doesn't help me. It tells me 'can't run as root without
the -u switch'... not sure what that means. Running the sudo rake task
with '-u' shows no result at all..)

Thanks a lot for any help!
Justus
This topic is locked and can not be replied to.