Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-09-2014, 05:18 PM
|
#1
|
Member
Registered: Nov 2009
Posts: 183
Rep:
|
httpd multi core
hello,
how to make httpd work on multi cores ?
http://puu.sh/7pkc7.png
|
|
|
03-09-2014, 07:25 PM
|
#2
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,674
|
well you are going to have to post a heck of a lot more information then ONLY this
Quote:
how to make httpd work on multi cores
|
|
|
|
03-09-2014, 10:31 PM
|
#3
|
Member
Registered: Nov 2009
Posts: 183
Original Poster
Rep:
|
what i must port ? i have centos 6.3 with apache and php installed. what i must post ?
|
|
|
03-10-2014, 12:48 AM
|
#5
|
Member
Registered: Nov 2009
Posts: 183
Original Poster
Rep:
|
version: Apache/2.2.15 (Unix)
i cant multi threaded in this version ? if yes ? full tutorial please ?
|
|
|
03-10-2014, 05:35 PM
|
#6
|
Member
Registered: Nov 2009
Posts: 183
Original Poster
Rep:
|
no help in this ?? apache just use 1 core ?
|
|
|
03-10-2014, 05:58 PM
|
#7
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
Quote:
Originally Posted by !! hack-back !!
no help in this ?? apache just use 1 core ?
|
You've been helped. RTFM the links posted and let us know where you have an issue after that.
|
|
|
03-11-2014, 07:32 AM
|
#8
|
Member
Registered: Nov 2009
Posts: 183
Original Poster
Rep:
|
this is not a full info about the issue thats the problem, + am already compiled apache with yum so how i can install mpm now
|
|
|
03-11-2014, 09:36 AM
|
#10
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
What do the apache logs say is happening?
|
|
|
03-11-2014, 10:57 AM
|
#11
|
Member
Registered: Nov 2009
Posts: 183
Original Poster
Rep:
|
ue Mar 11 04:53:19 2014] [error] [client 192.168.159.155] Symbolic link not allowed or link target not accessible: /var/www/cgi-bin/phpfcgi
|
|
|
03-11-2014, 11:09 AM
|
#12
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
Google
Code:
Symbolic link not allowed or link target not accessible: /var/www/cgi-bin
|
|
|
03-11-2014, 11:19 AM
|
#13
|
Member
Registered: Nov 2009
Posts: 183
Original Poster
Rep:
|
i edit
/etc/sysconfig/httpd
and uncomment
HTTPD=/usr/sbin/httpd.worker
=========================
but in htop
just 1 core = 100%
and i have 4 cores
|
|
|
03-11-2014, 12:29 PM
|
#14
|
Member
Registered: Nov 2009
Posts: 183
Original Poster
Rep:
|
can we start that from beginning ? i need to install httpd with mpm worker and use php instead and make it work on 4 cores
|
|
|
03-11-2014, 01:22 PM
|
#15
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,097
|
I don't mean to be blunt, sir or madam, but the short-answer to your question is "no," because (and I don't mean this to sound rude ...) you don't have the faintest clue what you are actually talking about. I am beginning to conclude that you're just a "provocateur bot," and not a person at all.
HTTPD's message is telling you exactly what is wrong here, and it has absolutely nothing to do with "cores," which the operating-system will exploit automatically on behalf of any and all running processes. Simply set the number of workers in Apache's configuration to some value greater than "one," and presto.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 10:45 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|