I have two users on my system: itsadok, my main user, and elasticsearch, a user with a different ulimit for running ElasticSearch.
I would like to be able to run stuff as the secondary user without being prompted for password every time.
I'm having an issue with mysql 5.5 running on Ubuntu 12.04 with the open-files-limit parameter.
I recently noticed some problems due to the 1024 limit, and actually the main system limit was set to 1024, so I modified /etc/security/limits.conf with the following:
* soft nofile 32000
* hard nofile 32000
root soft nofile 32000
root hard nofile 32000
After that I check the ulimit value for root
we believe we have increased the max open file descriptors for the root user. This was done by adding this line to /etc/security/limits.conf:
* - nofile 2048
We think we've confirmed that the root user's limit was increased because we can tell (not described here) that our application (solr - which is run by root) has 1098 files open.
Im trying to add some full text searching to my LAMP web application. Ive come across ElasticSearch and I like what it has to offer. I have read the guides and understand how to index a single item by using curl -XPUT http://localhost:9200/.
But how can I index an entire MySQL database?
I cannot seem to find anywhere on the web that explains how to do this.
Any ideas?
I want to change number of open files. Currently:
Code:
mahmood@localhost:~$ ulimit -n
1024
I can not change it neither in user nor sudo modes:
Code:
mahmood@localhost:~$ ulimit -n 8192
-bash: ulimit: open files: cannot modify limit: Operation not permitted
mahmood@localhost:~$ sudo ulimit -n 8192
sudo: ulimit: command not found
So how can I change that?
We are trying to configure NTP with Chicago time but it is showing the st 16u. Also cant see any reference (*) to amy remote server.
>>ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
nist1-chi.ustim .INIT.
ulimit -n (or ulimit -Hn) reports a value of 1024, and is not responsive to attempts to change it.
I added 'session required pam_limits.so' to su, sudo, common-session, login files in /etc/pam.d/ file, added '* hard nofile 4096' to the /etc/security/limits.conf file (and variants for root and admin accounts specifically), and rebooted.
ulimit -n still reports 1024.
How do I verify that the pam_
I'm working on an old legacy application, and I commonly come across certain settings that no one around cam explain.
Apparently at some point, some processes in the application were hitting the max number of files descriptors allowed per process, and the then team decided to increase the limit by adding the following to the init files of their shells (.kshrc):
((nfd=16#$(/etc/sysdef | grep "fil
I'm trying to increase the maximum number of open files for the current user
> ulimit -n
1024
I attempt to increase and fail as follows
> ulimit -n 4096
bash: ulimit: open files: cannot modify limit: Operation not permitted
So I do the natural thing and try to run with temp permission, but fail
> sudo ulimit -n 4096
sudo: ulimit: command not found
Questions
How to increase ulim