Reset Password
Existing players used to logging in with their character name and moo password must signup for a website account.
- Atheran 2m
- Ryuzaki4Days 2m Take drugs. Kill a bear.
- Hek 1m
- BigLammo 39s
- sukebug 21s
- ReeferMadness 16s May the bridges I burn light the way.
- Leudo 2m
- hex37 7m
- Amiga 1m
- LegerdemainMouse 1m always sleepy zzzzz
- Grig 1m
- JakeyBoy 3m
- Veleth 45m
- MrJDucky2 43m
a Mench 30m Doing a bit of everything.
- Sulfurado 3m
- SoulTune 35m
- KalopsiaTwilight 19s
- GrimButterCat 1m
- deskoft 1h
- Baguette 38m bitchmade
- RedProtokoll 3m
- CookieJarvis 5m
- BCingyou 1m
- Wonderland 1s
- fopsy 1m
- asdronin 20h
And 24 more hiding and/or disguised
Connect to Sindome @ or just Play Now

Files, files, files!
Long standing issue fixed

So, there was a long standing issue we have had. It's that MOO would routinely be told 'you have too many open files' when we tried to open a file and write it to disk. I investigated this.

MacOS had a 256 file limit on processes spawned from the terminal. I updated that, and last year and we restarted the MOO. It was not fixed.

This is a problem because as many of you may have encountered, sometimes we have to read data (e-notes, tv, scripts) from disk. And if they can't be read, things get a bit wonky.

The thing is, the MOO -never- has 256 files open. So WTF?

After we moved to our new server, the file limit was 1024 for processes by default. I thought the issue was resolved. It was not. We kept having the issue.

Turns out file-io has a built in limit that is set at compile time of 256 files. If it see's you have more than that, it says no, even if you're able. It's a hold over I guess, from times when open file handlers were a big source of latency or memory consumption I guess.

But STILL. The MOO -never- has that many files open.

Well, guess what? In Linux, everything is a damn file. Actual files being opened, but also socket connections. For those of you that don't know, each player connected equals a socket connection. And each time the MOO reaches out to an external service like a database or the website... that's a socket connection.

So now it makes more sense that we hit the 256 limit.

So, I updated the max files allowed to be opened in the fileio patch and recompiled the MOO. Then brought us back up. Then it still wasn't fixed, because I forgot to run 'make clean' before I ran 'make' which is why we had to go down for a minute again.

But now... I can confirm, it is fixed!

-- S

Shoulda let NSec handle it.