First of all, I would like to it clear (and try to avoid a flame war), that I am not complaining about it. I am really happy with OpenBSD, and I want to congratulate every developer for their great work.
Unfortunatelly, I have no skills to contribute to this fix. Until a couple of weeks ago, I was using OpenBSD 3.7 (i386, P4 3Ghz, 1GB RAM) on a really busy web server (stock Apache and PHP4 from ports) that started to get some panics related to UVM, or most of the times, just froze, with no reason, after some uptime (could be one day, or even one week). After reading all threads (and believe me, there are many) about this UVM thingie, I decided to upgrade this server to 4.1 (base). At first, everything was OK, until the server started to scream about 'uvm_mapent_alloc: out of static map entries'. Two days after the first message, this server froze just like the old one. Now I have followed some advice and bumped the MAX_KMAPENT to 4000, and changed maxusers to 64. The server is up for 15 hours, and the 'kernel map entries' is 1050. No messages about out of static map entries. With this bump, it looks like I am about to avoid this problem so soon. I have some questions, maybe someone can enlighten me: 1) Since this is a known problem, can we expect to see a reliable fix any time? Is there anyone working on this, or we should get used to it? 2) Bumping MAX_KMAPENT to 4000 produces any bad effects? The server is less reliable with this or I can trust this change? 3) In order to make a test bed, there is a way to use lots of kernel map? That way I could, somehow, develop a way to predict those crashes. Thanks! Private Joker Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

