Dear Reza, The "Too many open files” error typically occurs because of the value of “open files” in ulimit settings. Make sure that you set that value to unlimited and the setting is not valid only for the current shell (you might need to modify /etc/security/limits to change the system-wide settings).
Hope this helps. Let us know if you have more questions. -- Cansu On 07 May 2014, at 01:24, reza azimi <[email protected]<mailto:[email protected]>> wrote: Hello folks, I'm having problem scaling up web serving benchmark. My configuration is as follow I have 2 front ends 1 backend 1 memcached(I figure it out how to set it up based on cloudstone documents) and 1 load generator. I used the patch for the file store so I load it with 102 users as instructed. since each of server has 8 cores and 72 gigs of memory I increase the "worker_processes" in the nginx.conf and pm.max_children = 8 in php-fpm.conf. I ran 1200 users with one frontend without any error. (except Average images loaded per Home Page <3) but when I try to run even with 1800 users on two front end I get these errors: UIDriverAgent[0].1803.doLogin: Too many open files UIDriverAgent[0].1803.doTagSearch: Too many open files IDriverAgent[0].1803.doHomePage: Too many open files .... Image at http://128.148.@@.@@@/fileService.php?cache=false&file=E72642T.jpg size of 383 bytes is too small. Image may not exist ... I tried to use this link<http://www.cyberciti.biz/faq/linux-unix-nginx-too-many-open-files/> and solve the problem but it didnt work. I've checked my cpu, memory usage using top and they are still below 20% in all nodes. Can you help me find the parameters that I have changed and also if I have to do anything to increase number of users. My question is what should I do if I want to increase the usage of my servers? I think the answer is increase the number of users so how I should increase them and have successful run ? Let me know if you need any other information Appreciate your help in advance. Regards Reza
