Author Topic: Error: Could not load map (Too many files open)  (Read 3803 times)

0 Members and 3 Guests are viewing this topic.

Offline soldathosting

  • Major(1)
  • Posts: 9
Error: Could not load map (Too many files open)
« on: October 12, 2006, 07:26:28 pm »
I put soldatserver into my 100mbit server. Then I set soldat.ini and mapslist.txt. Finally I started ./soldatserver but sometimes, at the map-change, server freezes with "Error: Could not load map (Too many files open)". Why? I'm wrong? ???

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Error: Could not load map (Too many files open)
« Reply #1 on: October 12, 2006, 09:21:52 pm »
You dont know how to give file permissions properly do you....

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Error: Could not load map (Too many files open)
« Reply #2 on: October 12, 2006, 10:28:30 pm »
Ensure that all the files for the server, including maps, are owned by the user that runs the server. Also ensure that the files have read/write permissions.

Offline soldathosting

  • Major(1)
  • Posts: 9
Re: Error: Could not load map (Too many files open)
« Reply #3 on: October 13, 2006, 02:02:00 am »
I started server with www-data permissions (I've assigned chown 33:33 recursively at all files) So I've to set the maps directory to chmod 777?

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Error: Could not load map (Too many files open)
« Reply #4 on: October 14, 2006, 04:06:17 am »
In that case, check your mapslist for any invalid entries; something as simple as "ctf_b2b " (note the space) or ctf_B2b (note capitalization) will cause this error.

Offline soldathosting

  • Major(1)
  • Posts: 9
Re: Error: Could not load map (Too many files open)
« Reply #5 on: October 17, 2006, 12:00:46 pm »
I made mapslist.txt using this command:

Code: [Select]
ls -1 | grep 'ctf_*' > mapslist.txt
and, after, I replaced with nano all ".PMS" entries.
So the error still happens...

This is my server...

http://88.198.9.8/users/gianluca/23073/

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Error: Could not load map (Too many files open)
« Reply #6 on: October 17, 2006, 12:51:10 pm »
About the only thing left is to make sure that all files have read/write permission, ie: chmod 0666 /var/soldat/maps/*.PMS or chmod a+rw /var/soldat/maps/*.PMS, and the user that owns the server executable owns all the files as well, ie: chown -R www-data /var/soldat/ (using your own installation path where apropriate)

Offline BombSki

  • Flagrunner
  • ****
  • Posts: 927
    • Climbing-soldiers.net
Re: Error: Could not load map (Too many files open)
« Reply #7 on: October 17, 2006, 01:15:51 pm »
actually i have this bug very often, are you by any chance playing custom maps?
i get those errors when a lot of people are requesting files.

new server version should have fixed this though, havent tested..

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Error: Could not load map (Too many files open)
« Reply #8 on: October 17, 2006, 01:34:15 pm »
Under 2.5.2, I haven't seen this error at all, except when my mapslist had an invalid entry due to a space. Since the server has been running for over a month(beta version), that's a pretty good sign that bugs in that regard are fixed.

So upgrading to 2.5.2 is also recommended.

Offline soldathosting

  • Major(1)
  • Posts: 9
Re: Error: Could not load map (Too many files open)
« Reply #9 on: October 17, 2006, 05:54:10 pm »
Oh my God, it's not possible  >:( This is the 100th time I try to start my own Soldat server, but the error is the same... I chmodded and chowned all the files but everytime there is the same problem... I'm exausted... :-[ HELP ME PLEASEEEEE!!!  :-\

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Error: Could not load map (Too many files open)
« Reply #10 on: October 17, 2006, 06:28:35 pm »
Oh my God, it's not possible  >:( This is the 100th time I try to start my own Soldat server, but the error is the same... I chmodded and chowned all the files but everytime there is the same problem... I'm exausted... :-[ HELP ME PLEASEEEEE!!!  :-\

Have you tried using the new version of the server, 2.5.2 ?  http://www.soldat.pl/down-s.html

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Error: Could not load map (Too many files open)
« Reply #11 on: October 17, 2006, 06:38:41 pm »
If all else fails, I'm willing to check out your config for you, if you are willing to let me have access to the username/password for your server. FliesLikeABrick is also most likely capable of doing so, time allowing. There isn't a whole lot left in the realm of possibilities. But remember, if you go this route, send details through PMs, not in posts.

Offline soldathosting

  • Major(1)
  • Posts: 9
Re: Error: Could not load map (Too many files open)
« Reply #12 on: October 18, 2006, 03:32:14 pm »
ok, If you want I can grant you a temporary SSH access to discover the problem... tell me in PVT your MSN Messenger or other Istant Messaging system you use...

Date Posted: October 18, 2006, 07:46:39 AM
HOWEVER this is the direct link to see my server: http://88.198.9.8/users/gianluca/23073/

Date Posted: October 18, 2006, 07:47:52 AM
I've an IDEA!!!  ;D

Send me a ZIP file with a working and configured server!

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Error: Could not load map (Too many files open)
« Reply #13 on: October 18, 2006, 05:33:19 pm »
ok, If you want I can grant you a temporary SSH access to discover the problem... tell me in PVT your MSN Messenger or other Istant Messaging system you use...

Date Posted: October 18, 2006, 07:46:39 AM
HOWEVER this is the direct link to see my server: http://88.198.9.8/users/gianluca/23073/

Date Posted: October 18, 2006, 07:47:52 AM
I've an IDEA!!!  ;D

Send me a ZIP file with a working and configured server!

Unfortunately, file permissions and such do not carry over in zip files. Just send me a private message by clicking on my name to access my profile, then click "Send this member a personal message."

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Error: Could not load map (Too many files open)
« Reply #14 on: October 18, 2006, 05:36:15 pm »
ok, If you want I can grant you a temporary SSH access to discover the problem... tell me in PVT your MSN Messenger or other Istant Messaging system you use...

Date Posted: October 18, 2006, 07:46:39 AM
HOWEVER this is the direct link to see my server: http://88.198.9.8/users/gianluca/23073/

Date Posted: October 18, 2006, 07:47:52 AM
I've an IDEA!!!  ;D

Send me a ZIP file with a working and configured server!

Unfortunately, file permissions and such do not carry over in zip files. Just send me a private message by clicking on my name to access my profile, then click "Send this member a personal message."

permissions carry over in .tar.gz files though

Offline matthew016

  • Major(1)
  • Posts: 4
Re: Error: Could not load map (Too many files open)
« Reply #15 on: October 19, 2006, 04:18:18 pm »
I have exactly the same problem when I load a map list, and when I want the next map of the new loaded maplist ...

If u solved the problem can u tell me please ?
Thanks !!!

Offline soldathosting

  • Major(1)
  • Posts: 9
Re: Error: Could not load map (Too many files open)
« Reply #16 on: October 20, 2006, 05:37:30 am »
I think the problem is because in the soldatserver.zip packet some directory like "Textures" "Edges" and "Scenery-gfx". Have I to insert these dirs into my linux server? If yes, I've to put them without capital letters?

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Error: Could not load map (Too many files open)
« Reply #17 on: October 20, 2006, 05:49:44 am »
My oh my... I see the problem now....

MichalM didnt add the scenery/maps folders!

@guyabovehere, the names must be all lowercase.

Offline soldathosting

  • Major(1)
  • Posts: 9
Re: Error: Could not load map (Too many files open)
« Reply #18 on: October 20, 2006, 06:11:23 am »
EnScE, There aren't problems ;) when you'll upload the new server packet, please post a reply here! ;D Bye

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Error: Could not load map (Too many files open)
« Reply #19 on: October 20, 2006, 06:12:53 am »
I dont have access to uploading the soldatserver252.zip file, only Michal does but he isnt online right now.