The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
i have a Big problem with the data base after update now is consuming so much resource , i send you a emails with more detaels.
Thank you
Offline
It should be consuming less resources after the update.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I have a notification of my shared hosting say me if i dont fix that prontly they suspend my acount so how i can solve that ?
Offline
Upgrade to a dedicated server. The database in 1.0.2 is less intensive compared to version < 1.0, unless you had some special modifications done to the 1.0rc4 version.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Offline
There is not much i can do. I need mysql access (via a console and with root) so that i can see the process list. I need the slow query list (which only the admin can enable). If i see which queries are slow i can optimize. There shouldnt be any slow queries (this has been checked on several ocasions/servers).
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Offline
I have a notification of my shared hosting say me if i dont fix that prontly they suspend my acount so how i can solve that ?
You can't expect that website on shared server with some solid growing traffic is enough for all tasks, especially for mysql.
One server is for 100-200 different users, while dedicated is for you only.
So this happens often that hosting company suspends shared accounts that use too much resources.
Offline
i was my site with so much traffic in a shared host and dont happend nonthing, this issue is apper after the updates.
Offline
we see the problem is when the user join to a category url for example http://www.ismytube.com/amateur/ if the user dont join here the site load fine. We think about a error on comunication of the script with this section of the data base.
Adrian can you help me please.?
Offline
thank you for you help boys , the problem has been fixed
Offline
What was the problem?
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
1) the category send 2 queries to the data base and this take so long time this we fix.
2) The code don close the process correctly (Dont is solved if you can help me with this )
Offline
1. I will check the query, but its not slow on my sites, so the url is http://www.domain.com/amateur/?
2. The script closes the mysql connection. This is however a myth, because the mysql connection is closed automatically by php, unless you use persistent connections.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I dont not what is the problem if you can check on my server I'll be grateful because i am so bored with this problem. Let me know and i will send the login
Offline
Offline
I'm really sorry, but i cannot check anything on a shared server. I can guarantee you that the mysql connections are closed (and even if the script wouldnt close the connections, this open connections thing is a total myth, php automatically closes the mysql connections, unless you use persistent connections). If you would be on a dedicated server i could install the xdebug profiler extension and we would know exactly what is happening.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
what log you need see for i try get from my support managet host? I send you more detaels to your emails.
Last edited by mmpo (2012-10-14 04:31:30)
Offline
More detaels for you can help me to solved the problem
Offline
Everything is ok in 1.0 also. Nothing changed to influence this (NOTHING has changed in the way our script handles the database connection, some tables were optimized, but only after testing). There is no way to close a table. You close the mysql connection, not the table.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
yes of course in any part some mysql connection dont is close and its the problem that my server manage notice me for this i want you review that. I think that i dont need a dedicate server at this time because if i fix this problem the site will be rum so fast because on cpu usage is taking only 4% . memory too so little the only problem is with the entery process and its for mysql connection is not close correctly.
Offline
hmm i am using RC4 and everything is ok
On the version that you have i never have this problem.
Offline
Like i said before, its impossible for me to debug. The code closes the connection. Here's the function that does it:
public static function close()
{
session_write_close();
if (isset(self::$instances['database'])) {
self::$instances['database']->close();
}
while(ob_get_level()) {
ob_end_flush();
}
self::$running = FALSE;
}
It is called for every file, once the script finishes. This is the same in RC4 and 1.0.*.
With a dedicated server i can install a debugging extension and after that i can test and i see exactly what happens. On a shared hosting i cannot do anything.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
i and tranfering the site to a dedicate i will tell you the login.
Offline