A hack to avoid too many simutaneous opened connections

Xtremdj, Xoops France co-webmaster, suggests a little hack in your root footer.php file, to avoid too many simultaneous opened connections on the server...
When you don't close the connection, php let it run for a time out defined by mysql for 30 sec.
Imagine: if 10 visitors are surfing on the site at a great speed , one connection is opened per page, if they open 5 pages in 30 sec (not very much indeed) 50 connections are opened!!!!!
Some hosts jam at 30 simultaneous connections and then you get a beautiful "xxxx as already reached max connections ....."

On the other hand, if you close the db, at each page you close the connection: so only 10 simultaneous connections.
To get this result, get the code at
Xoops France Forums

Enjoy...
Comments?

MyHeadlines v4.0.3 Ported to Xoops

I have just completed a major upgrade to the MyHeadlines code base, and on a whim
Read more... | 687 bytes more | Comments?

XOOPS Italian Pack

Finally it's here, the XOOPS CMS in italian language!
Please note, this pack doesn't contains only the translated file for modules, etc. but it is the full xoops package translated in italian.
Read more... | 960 bytes more | Comments?

Xoops Megapack on Xoops France

A Megapack Xoops has been released by Anexia for Xoops France...
Read more... | 1175 bytes more | Comments?

XoopsForge Website at SourceForge

I've launched the XoopsForge Website at SourcForge. Please register as a user and create projects to test the functionalities of XoopsForge. Please provide me with all the feedback you can give so i can improve XoopsForge.
Read more... | 381 bytes more | 2 comments

Two new Xoops sites!

Hi. I have recently gone live with two sites based on Xoops. The first is BoliviaHoy.com, a redesign of the spanish language portal for Bolivia and the country's most popular meta-news site.
Read more... | 828 bytes more | Comments?

The mailuser module is arrived,Only adapt Xoop RC2

The mailuser module is arrived,Only adapt Xoop RC2
Now this module has Tchinese, Schinese, English language file.

Read more... | 1327 bytes more | Comments?

Lykoszine-Block Collection

Lykoszine-Block Collection (Updated 06/04/02)

- Last x articles in a topic - small fix

- NEW BLOCK - display 1 random partner banner (to use instead of the block that displays all)

Get it from the download section or here
Comments?

Bad words sql file available

Just made available a 70+ word sql dump file of inappropriate English words. Search and replace the table prefix of xoops changing it to whatever your DB prefix is and then use PHPmyadmin to import the text file.
Read more... | 404 bytes more | Comments?

Top Members for Xoops is available

The module Top Members is now availble, it make a classify of you members...
The classify is make by points, when your members add :
Read more... | 416 bytes more | Comments?
« 1 ... 532 533 534 (535) 536 537 538 ... 553 »


Login

Who's Online

85 user(s) are online (3 user(s) are browsing XOOPS News)


Members: 0


Guests: 85


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits

Archives

News archives