You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by raj srivastava <le...@yahoo.com> on 2005/11/21 16:34:43 UTC

[users@httpd] Compiling auth LDAP on Sol10

  Hi ,
   
  I m trying to compile apache version 2.0.54 with auth_ldap module on Solaris 10 but I m getting lots of errors .
   
  Can you please advise what are the steps to compile apache with ldap and what are the dependencies like which version of openldap , openssl ,  and others are required. My Ldap server is based on Sunone and is running on a separate server.
   
  Best regards


		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  

Re: [users@httpd] httpd high CPU usage

Posted by Benjamin Adams <ba...@ambrosiasw.com>.
Load Avg:  5.65, 4.88, 4.24     CPU usage:  15.9% user, 72.3% sys,  
11.8% idle
SharedLibs: num =   83, resident = 20.0M code, 1.98M data, 11.8M  
LinkEdit
MemRegions: num = 27385, resident =  546M + 11.0M private, 59.1M shared
PhysMem:   377M wired,  511M active, 3.01G inactive, 3.88G used,  
4.12G free

(Very low load but site is still very very slow)

On Nov 21, 2005, at 11:53 AM, Benjamin Adams wrote:

>   PID COMMAND      %CPU   TIME   #TH #PRTS #MREGS RPRVT  RSHRD   
> RSIZE  VSIZE
> 6018 httpd       28.9%  0:38.05   1    12   268  9.61M+ 28.1M  12.7M 
> + 64.5M+
> 8931 httpd       28.7%  0:01.59   1    12   242  7.16M+ 28.2M  10.2M 
> + 62.7M+
> 8798 httpd       20.1%  0:02.89   1    12   223  6.16M+ 28.2M  9.09M 
> + 61.1M-
> 4671 httpd       16.5%  1:01.88   1    12   245  6.28M- 28.1M  11.2M 
> + 62.8M+
> 8917 httpd       15.4%  0:01.50   1    12   210  5.22M+ 28.2M  8.05M 
> + 59.4M
> 7308 top         14.8%  1:01.27   1    73    23  2.02M   528K  1.64M 
> + 27.0M
> 8891 httpd       14.5%  0:00.61   1    12   198  4.81M+ 28.1M  7.80M 
> + 58.6M+
> 8909 httpd       14.3%  0:00.28   1    12   187  2.55M+ 28.2M  5.68M 
> + 56.9M+
> 8893 httpd        5.5%  0:02.04   1    12   164  4.30M- 28.2M   
> 8.07M- 57.0M-
>     0 kernel_tas   1.7% 10:18:18  44     2  8633  74.4M     0K    
> 297M  1.72G
> 26371 mysqld       0.4% 70:58.80  59   147   187   157M- 3.36M    
> 158M-  460M-
>
> apache 1.3.33 on Mac OS X 10.4.3
> php5 -- zend optimizer 2.5.10
> mysql4.1
>
> Site is very slow mainly with images (gd2 lib) and mysql pages
>
> I'm using invision power boards
>
> httpd.conf
> RLimitNPROC max max
> ExtendedStatus On
> Timeout 40
> KeepAlive On
> MaxKeepAliveRequests 100
> KeepAliveTimeout 5
> MaxClients 256
> MinSpareServers 5
> MaxSpareServers 10
> StartServers 5
> MaxRequestsPerChild 10000
>
> my.cnf
> skip-locking
> skip-innodb
> key_buffer = 384M
> table_cache = 2000
> sort_buffer_size = 1M #2M
> read_buffer_size = 1M #2M
> max_user_connections = 700
> read_rnd_buffer_size = 524288 #8M
> myisam_sort_buffer_size = 128M
> join_buffer_size = 1M #no default
> thread_cache = 64
> bulk_insert_buffer_size = 8M
> query_cache_limit = 1M
> query_prealloc_size = 16384
> query_alloc_block_size = 16384
> query_cache_type = 1
> query_cache_size = 32M #256M
> wait_timeout = 40 #28800
> interactive_timeout = 30
> tmp_table_size = 64M
> long_query_time = 10
>
> php.ini
> [Zend]
> zend_optimizer.optimization_level=1023
> zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2.5.10
> zend_optimizer.version=2.5.10
> zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
>
> Site is very very slow need help, please
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server  
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] httpd high CPU usage

Posted by Benjamin Adams <ba...@ambrosiasw.com>.
   PID COMMAND      %CPU   TIME   #TH #PRTS #MREGS RPRVT  RSHRD   
RSIZE  VSIZE
6018 httpd       28.9%  0:38.05   1    12   268  9.61M+ 28.1M  12.7M+  
64.5M+
8931 httpd       28.7%  0:01.59   1    12   242  7.16M+ 28.2M  10.2M+  
62.7M+
8798 httpd       20.1%  0:02.89   1    12   223  6.16M+ 28.2M  9.09M+  
61.1M-
4671 httpd       16.5%  1:01.88   1    12   245  6.28M- 28.1M  11.2M+  
62.8M+
8917 httpd       15.4%  0:01.50   1    12   210  5.22M+ 28.2M  8.05M+  
59.4M
7308 top         14.8%  1:01.27   1    73    23  2.02M   528K  1.64M+  
27.0M
8891 httpd       14.5%  0:00.61   1    12   198  4.81M+ 28.1M  7.80M+  
58.6M+
8909 httpd       14.3%  0:00.28   1    12   187  2.55M+ 28.2M  5.68M+  
56.9M+
8893 httpd        5.5%  0:02.04   1    12   164  4.30M- 28.2M  8.07M-  
57.0M-
     0 kernel_tas   1.7% 10:18:18  44     2  8633  74.4M     0K    
297M  1.72G
26371 mysqld       0.4% 70:58.80  59   147   187   157M- 3.36M    
158M-  460M-

apache 1.3.33 on Mac OS X 10.4.3
php5 -- zend optimizer 2.5.10
mysql4.1

Site is very slow mainly with images (gd2 lib) and mysql pages

I'm using invision power boards

httpd.conf
RLimitNPROC max max
ExtendedStatus On
Timeout 40
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
MaxClients 256
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxRequestsPerChild 10000

my.cnf
skip-locking
skip-innodb
key_buffer = 384M
table_cache = 2000
sort_buffer_size = 1M #2M
read_buffer_size = 1M #2M
max_user_connections = 700
read_rnd_buffer_size = 524288 #8M
myisam_sort_buffer_size = 128M
join_buffer_size = 1M #no default
thread_cache = 64
bulk_insert_buffer_size = 8M
query_cache_limit = 1M
query_prealloc_size = 16384
query_alloc_block_size = 16384
query_cache_type = 1
query_cache_size = 32M #256M
wait_timeout = 40 #28800
interactive_timeout = 30
tmp_table_size = 64M
long_query_time = 10

php.ini
[Zend]
zend_optimizer.optimization_level=1023
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2.5.10
zend_optimizer.version=2.5.10
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so

Site is very very slow need help, please


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org