There is a section in eqemu_config.xml that sets the queryserv database.
Depending on how old your server is(, or what config file you used,) you may not have this.
This is what you should have:
Code:
<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>127.0.0.1</host>
<port>3306</port>
<username>***</username>
<password>***</password>
<db>peq</db>
</database>
<qsdatabase>
<host>127.0.0.1</host>
<port>3306</port>
<username>***</username>
<password>***</password>
<db>peq</db>
</qsdatabase>
On the sleeping thing..I see it go to zero too..but, don't recall any issues with gameplay.