Have you benchmarked your script to find where slowdowns are occurring?
It's likely poorly optimized mysql queries.
On Sun, Oct 17, 2010 at 2:04 AM, myuniverso.com <khizarsonu@gmail.com>wrote:
> hello everyone,
>
> my server configuration..
>
> 1ghz processor
> 2GB ram
> 100mbps network connection
> m using nginx + php-fpm + mysql
> currently hosting 3 sites
>
> guys, my problem is that some of my php script run slower but which
> has to work faster and some of script run faster which has to works
> slow
>
> http://myuniverso.com/index.php
> this page contain 2-3 mysql fetch_array and (4 api call from ad-
> networks to show ads) but its taking 30-40 sec to load
>
> http://ad4fun.com/serve/serve.php?pid=1
> this page contain 10-12 sqlite fetch, 1 mysql fetch_array, (12 api
> call from ad-network) and its take 1 or less second to load.....
>
> what is going good/bad.... guys help me