archive-com.com » COM » 2 » 2BITS.COM

Total: 372

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Re-Indexing your content to Solr, the fast way ... | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    cron run and then you have to wait until the next iteration of cron running The indispensable swiss army knife of Drupal Drush has hook for Solr Therefore for someone like me who does almost everything from the command line using drush was the natural fit for this task To do this in one terminal I enter this command while true do drush live verbose solr index sleep 5 done This command runs the indexing in a loop and is not dependent on cron As soon as the 100 items or whatever limit you have in your settings is done another batch is sent In another terminal you would monitor the progress as follows while true do drush live solr get last indexed sleep 30 done Once you see that the number of items in the second terminal to stop increasing you check the first terminal for any errors Usually it means that indexing is complete However if there are errors they may be due to bad content in nodes which needs to be fixed e g bad fields or unpublished as the case may be Doing this reindexing on a Drupal 7 x site sending content to a Solr 4 x server took from 11 pm to 1 pm the next day 14 hours for 211 900 nodes There was an overnight network disconnect for the terminals and it was restarted in the morning so the actual time is actually less In all cases this is much faster than indexing a few hundred items every 5 minutes via cron That would have taken several days to complete Contents Articles Tags Drupal Planet Apache Solr Solr Drush Add new comment Comments Search Api Submitted by jvE not verified on Wed 2015 08 26 03 26 When you use the search

    Original URL path: http://2bits.com/articles/re-indexing-your-content-in-apache-solr-the-fast-way.html (2016-05-02)
    Open archived version from archive


  • Apache Solr | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    with password authentication Most of high traffic or complex Drupal sites use Apache Solr as the search engine It is much faster and more scaleable than Drupal s search module In a previous article on Drupal with Apache Solr 4 x we described one way to install the latest stable Apache Solr 4 x That article detailed a lot of manual steps involving downloading extracting setting permissions creating a startup script etc Tags Drupal Planet Drupal Apache Solr Authentication Password Solr Jetty Tomcat Contents Articles Read more about Configuring Apache Solr 3 6 for Drupal on Ubuntu 14 04 with password authentication 6 comments Add new comment Configuring Apache Solr 4 x for Drupal with password authentication Most of high traffic or complex Drupal sites use Apache Solr as the search engine It is much faster and more scaleable than Drupal s search module In this article we describe one way of many for having a working Apache Solr installation for use with Drupal 7 x on Ubunutu Server 12 04 LTS The technique described should work with Ubunut 14 04 LTS as well Tags Drupal Planet Drupal Apache Apache Solr Authentication Password Solr Jetty Tomcat Contents Articles Read more

    Original URL path: http://2bits.com/tags/apache-solr (2016-05-02)
    Open archived version from archive

  • Solr | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    with password authentication Most of high traffic or complex Drupal sites use Apache Solr as the search engine It is much faster and more scaleable than Drupal s search module In a previous article on Drupal with Apache Solr 4 x we described one way to install the latest stable Apache Solr 4 x That article detailed a lot of manual steps involving downloading extracting setting permissions creating a startup script etc Tags Drupal Planet Drupal Apache Solr Authentication Password Solr Jetty Tomcat Contents Articles Read more about Configuring Apache Solr 3 6 for Drupal on Ubuntu 14 04 with password authentication 6 comments Add new comment Configuring Apache Solr 4 x for Drupal with password authentication Most of high traffic or complex Drupal sites use Apache Solr as the search engine It is much faster and more scaleable than Drupal s search module In this article we describe one way of many for having a working Apache Solr installation for use with Drupal 7 x on Ubunutu Server 12 04 LTS The technique described should work with Ubunut 14 04 LTS as well Tags Drupal Planet Drupal Apache Apache Solr Authentication Password Solr Jetty Tomcat Contents Articles Read more

    Original URL path: http://2bits.com/tags/solr (2016-05-02)
    Open archived version from archive

  • Drush | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    an old server to a new one Tags Drupal Planet Apache Solr Solr Drush Contents Articles Read more about Re Indexing your content to Solr the fast way 1 comment Add new comment Using Drush for a Seven Day Daily Backup scheme for Drupal sites Everyone needs to have a backup plan for their live site Not only can your server s disk get corrupted but you can also erroneously overwrite your site with bad code or bad data or your site can get hacked Detecting the latter situations takes some time Hours or days For this reason you should have multiple backup copies at multiple time points The most convenient scheme is to have a 7 day sliding backup that is you have one backup snapshot for each day of the week with today s backup overwriting the backup from 8 days ago Tags Drupal Planet Drupal Backup Drush Contents Articles Read more about Using Drush for a Seven Day Daily Backup scheme for Drupal sites 11 comments Add new comment Is your Drupal or WordPress site slow Is it suffering from server resources shortages Is it experiencing outages Contact us for Drupal and WordPress Performance Optimization and Tuning

    Original URL path: http://2bits.com/tags/drush (2016-05-02)
    Open archived version from archive

  • Presentation: Backdrop: A Drupal Fork | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    alternative that reduces the cost of ownership by minimizing the learning curve for developers Note the slides from this presentation were superseded by my talk at Drupal North 2015 Contents Articles Tags Drupal Planet Drupal Backdrop Add new comment Comments Any discussion Submitted by Berend de Boer not verified on Tue 2015 05 26 17 56 Interested in hearing about responses from attendees Did they think BackDrop was a good idea reply Mostly curious and wait and see Submitted by Khalid on Tue 2015 05 26 18 26 Most of the audience were just curious about BackDrop why it was created which problems will it address etc The main stance is wait and see including waiting to see whether BackDrop will garner a considerable following and whether Drupal 8 will be too complex and or will not see significant adoption One attendee summed it up as BackDrop will be successful by not dying meaning that if BackDrop persists with some following then it is a success reply Is your Drupal or WordPress site slow Is it suffering from server resources shortages Is it experiencing outages Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting Contents Services Clients Testimonials

    Original URL path: http://2bits.com/backdrop/presentation-backdrop-drupal-fork.html (2016-05-02)
    Open archived version from archive

  • Backdrop | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    a fork of Drupal based mostly on Drupal 7 x and mostly compatible with its API It also has some features from Drupal 8 x It aims to provide an alternative that reduces the cost of ownership by minimizing the learning curve for developers Tags Drupal Planet Drupal Backdrop Contents Articles Read more about Presentation Backdrop A Drupal Fork 2 comments Add new comment Is your Drupal or WordPress site

    Original URL path: http://2bits.com/tags/backdrop (2016-05-02)
    Open archived version from archive

  • High Performance Drupal with Apache MPM Worker Threaded Server and PHP-FPM | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    new comment Comments Benchmarks Submitted by Elioty not verified on Mon 2014 08 11 11 11 Hello Thank you very much for this article Very well written with the whole process explained to set up this configuration However could you do some new and fresh benchmarks like you did in your previous article to compare this new solution against the one you suggested 5 years ago I will test it anyway and see how my Symfony2 apps react under Ubuntu 14 04 with PostgreSQL 9 3 Thanks in advance Elioty reply Good Submitted by Khalid on Mon 2014 08 11 13 00 PostgreSQL is little used in the Drupal universe but it is good that you will do benchmarks of any kind Please share them here at least mod php vs PHP FPM I have been using it in production for many sites of all sizes and it is fast My guess is that it will be as good as if not better than fcgid with the added benefit of a shared op code cache rather than one copy per process reply Restarting lines Submitted by Popa Adrian not verified on Wed 2014 09 17 07 38 Restarting lines should be sudo service php5 fpm restart sudo service apache2 restart reply Thanks Submitted by Khalid on Wed 2014 09 17 08 39 Thanks I fixed the typo reply What about files like Submitted by Erobober not verified on Thu 2014 11 27 17 13 What about files like malware jpg php for Ubuntu 14 04 lts configured in php fpm conf Looks like they come reply Not clear Submitted by Khalid on Thu 2014 11 27 19 57 Your question is not clear to me If you did find such file on your system you should assume that your site has been compromised reply Varnish on top Submitted by Carlos Miranda Levy not verified on Mon 2014 12 01 14 15 Thanks for the article I used the old one as the basis of the deployment guide for our servers for the past few years and I quote it in the optimization section of our Ubuntu for Drupal instructions in Spanish at http www socinfo com ubuntu configuracion What are your thoughts or experience on deploying Varnish on top of this config Mainly following the instructions at https www digitalocean com community tutorials how to speed up your drupal 7 website with varnish 4 on ubuntu 14 04 and debian 7 Thanks in advance for any comment or hint reply uploadprogress Submitted by Alan not verified on Sat 2014 12 06 21 17 Thanks for the instruction works great For Drupal 7 One thing is the uploadprogress now seems not able to work after switch In the status report page it says Your server is not capable of displaying file upload progress File upload progress requires PHP be run with mod php and not as FastCGI Do you have a workaround THank you reply Issues open for it Submitted by Khalid on Sat 2014 12 06 22 41 No I don t have one off hand But there are a couple of issues open for it 1559116 and 1561866 reply help Submitted by ed not verified on Wed 2014 12 17 06 12 Hi I tried to follow your tutorial on 12 04 but now my system is completely unworkable and i think i am going to have to reinstall the entire system I have tried to remove apache2 and reinstall and remove php fpm so that I can just be back where i was but i fear that my system is now lost any advice If you follow this tutorial you may have mpm install issues you probably wont have etc apache conf d mpm worker conf the folder on 12 04 is apache2 but it wont have mpm worker conf in it reply What are the errors you get Submitted by Khalid on Wed 2014 12 17 11 14 You don t need to reinstall the system You just need to uninstall apache2 all php packages then remove etc php5 and etc apache2 and install them again But what error messages are you seeing Here is what in etc apache2 conf d mpm worker conf on one of my 12 04 servers IfModule mpm worker module ServerLimit 30 StartServers 3 MinSpareThreads 3 MaxSpareThreads 10 ThreadsPerChild 10 MaxClients 300 MaxRequestsPerChild 1000 IfModule reply Hi All Have a drupal site of Submitted by Snider not verified on Fri 2015 06 05 03 12 Hi All Have a drupal site of mine which is been running slow and did check most of that is mentioned in here and still its not performing as it should be Meanwhile did see a suggestion on using Apachebooster did any one in this group has tried their hands on it Need your suggestion Thanks reply Diagnosis first then treatment Submitted by Khalid on Fri 2015 06 05 09 17 You should not try something just because someone advertized it or someone else said it has improved their performance The issue s may be in the database Drupal code network or any other component What you should do is first diagnose the problem then find a treatment based on what the cause is If you want we can diagnose and solve the problem for you Click on the Contact link on the top right of this page reply Is your Drupal or WordPress site slow Is it suffering from server resources shortages Is it experiencing outages Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting Contents Services Clients Testimonials News FAQ Payments Site Map Navigation Payment Recent content Do you use any of our Drupal modules Did you find our Drupal WordPress and LAMP performance articles informative Follow us on Twitter 2bits for tips and tricks on Drupal and WordPress Performance Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting In Depth Articles Client Testimonials Developing tracing and debugging Drupal Drupal Performance

    Original URL path: http://2bits.com/articles/high-performance-drupal-with-apache-mpm-worker-threaded-server-and-php-fpm.html (2016-05-02)
    Open archived version from archive

  • Apache with fcgid: acceptable performance and better resource utilization | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    PHP 5 2 x sporadically Here is the script to allow Munin to plot how many php cgi processes are in use Name it php processes and put it in etc munin plugins bin sh Plugin to monitor the number of PHP processes on the machine Copyright Khalid Baheyeldin 2009 http 2bits com Parameters config required autoconf optional used by munin config Magick markers optional used by munin config and som installation scripts family auto capabilities autoconf if 1 autoconf then echo yes exit 0 fi if 1 config then echo graph title Number of php cgi processes echo graph args base 1000 l 0 echo graph vlabel number of php cgi processes echo graph category apache echo graph info This graph shows the number of php cgi processes in the system echo php processes label php cgi echo php processes draw LINE2 echo php processes info The current number of php cgi processes exit 0 fi echo n php processes value find proc maxdepth 1 name 1 9 exec grep php cgi cmdline grep v grep wc l sed s t sed s reply Thanks for this Submitted by Visitor not verified on Mon 2009 04 06 17 51 Thanks for this information Everything is working as expected but I notice that the php processes are attached to apache child so when the process dies php cgi will die too and APC XCache compiled code will be lost Is there any workaround reply Don t think so Submitted by Visitor not verified on Mon 2009 04 06 23 31 I don think so I think the APC shared memory is shared among all the php cgi processes so if one exits the cache is still there for the others Yes if the last one dies then the entire APC cache is destroyed and will be created anew when a new PHP request comes in Install the apc php that came with the APC package and point your browser to it and you will see that APC is active reply Munin PHP processes Submitted by Visitor not verified on Mon 2010 03 01 14 53 This would be very useful for me but the script always yields the answer 1 when I run it This doesn t seem right reply simplify munin script for php cgi Submitted by Visitor not verified on Tue 2010 04 27 11 30 Simplified php cgi munin script bin bash By Phil2k gmail com if gt 0 a 1 config then echo graph args base 1000 l 0 echo graph scale no echo graph vlabel number of php cgi processes echo graph title Number of php cgi processes echo graph category apache echo graph printf 0lf echo graph info This graph shows the number of php cgi processes are running echo php cgi label php cgi echo php cgi draw LINE1 echo php cgi info Number of php cgi processes exit 0 fi echo php cgi value ps C php cgi tail n 2 wc l reply The memory usage graph is Submitted by Visitor not verified on Mon 2009 11 30 04 28 The memory usage graph is awesome How are you guys building it reply Munin Submitted by Visitor not verified on Mon 2009 11 30 10 26 Munin generates that graph reply benchmarking tool Submitted by Visitor not verified on Wed 2010 08 04 02 34 The tutorial is great I would just want to know about the benchmarking tool you had used to compare the performance of mod php and fcgid Which tool had you used for benchmarking Thanks reply Plesk Submitted by Visitor not verified on Thu 2010 09 16 08 52 How can this work with plesk installed on the vps container reply Question to Plesk Submitted by Visitor not verified on Thu 2010 09 16 10 09 That is a question for Plesk really I normally avoid these control panels be it cPanel Plesk WHM etc for several reasons such as forcing compile from source with certain combinations of version numbers inability to use less common features and they general stand in your way for a high performance site reply mod fcgid can t apply process slot for Submitted by rihaz not verified on Mon 2010 11 15 12 31 Some times it shows this message in the error logs mod fcgid can t apply process slot for path to file php and it will show Server Busy message when accessing the website Any one getting this error reply mod fcgid will in some cases give 500 errors by design Submitted by burningdog not verified on Thu 2012 07 12 07 14 I was getting plenty of errors in my apache error logs about 80 a day on a high traffic site mod fcgid can t apply process slot for usr bin php cgi These would often but not always show up as 503 errors in the apache access log Running varnish in front of this setup led to a number of 503 s logged in varnish from the apache backend FetchError c no backend connection backend write error 11 Resource temporarily unavailable http first read error 1 0 No error recorded According to the Special PHP considerations paragraph at http httpd apache org mod fcgid mod mod fcgid html By default PHP FastCGI processes exit after handling 500 requests and they may exit after this module has already connected to the application and sent the next request When that occurs an error will be logged and 500 Internal Server Error will be returned to the client WTF 500 errors expected as part of NORMAL operations Apache s solution is one of 2 things Set PHP FCGI MAX REQUESTS to 0 but that can be a problem if the PHP application leaks resources Which means writing zombie killing scripts or separate scripts that monitor php resources and restart when necessary PHP FCGI MAX REQUESTS can be set to a much higher value than the default to reduce the frequency of this problem FcgidMaxRequestsPerProcess can be set to a value less than or equal to PHP FCGI MAX REQUESTS to resolve the problem Basically this equates to Here s how to see less errors NOT Here s how to fix this Again WTF I notice that 2bits doesn t get these errors and they do seem intermittent The drupal 6 site I ve just taken over from someone else suffers from buffet binge syndrome around 230 modules and averages about 6 seconds for the home page to load So what is happening is that when mod fastcgi gets to the number of MaxRequestsPerProcess it wants to restart that php process but it can t because it s still busy Then it STILL allows new php requests to use that process except that process shouldn t be available which leads to the can t apply process slot for usr bin php cgi error at least that s how I think this error is happening The solution is to start using some kind of php process manager which looks after the fastcgi php processes Enter php fpm http php fpm org says that PHP FPM FastCGI Process Manager is an alternative PHP FastCGI implementation with some additional features useful for sites of any size especially busier sites One of its features Advanced process management with graceful stop start That s what we need On Ubuntu 12 here s how I installed and configured it assuming mpm worker fcgid is already set up apt get install php5 fpm libapache2 mod fastcgi apt get remove libapache2 mod fcgid a2dismod fcgid a2enmod fastcgi actions alias Edit etc php5 fpm pool d www conf with some sensible values see failover co za post below or leave at defaults monitor the results and tune and change the following Find the line below listen 127 0 0 1 9000 and change it to this listen var run php fpm sock Create etc apache2 conf d php fastcgi conf with these contents IfModule mod fastcgi c Alias php5 fastcgi usr lib cgi bin php5 AddHandler php script php FastCGIExternalServer usr lib cgi bin php5 socket var run php fpm sock Action php script php5 fastcgi virtual IfModule In etc php5 fpm php ini change any relevant directives like max execution time and memory service apache2 restart service php5 fpm restart References http personal x istence com post 2009 08 25 moving modfastcgi modfcgid http failover co za 2012 01 29 setup apache mpm worker fastcgi php fpm apc http funcptr net 2010 11 14 apache mod fastcgi and php with php fpm reply fcgid and mod rewrite issues Submitted by Chris not verified on Thu 2010 11 25 13 29 Since switching to fcgid from suphp on apache 2 2 we have found that mod rewrite is not working correctly for some rules resulting in a no input file specified error So far we have been unable to resolve this Any other implementation of PHP works fine reply Should not matter Submitted by Khalid on Thu 2010 11 25 14 11 That is odd We have not seen this though we use such a setup for many clients It should not matter whether PHP is FastCGI or mod php or suphp The module mod rewrite is an Apache module and whether Apache is running as MPM worker or pre fork should not impact how rewriting works Perhaps your rewrite rules impact PHP somehow passing variables form Apache or something like that reply Cautiously switching from mod php to mod fcgid Submitted by Benji not verified on Wed 2010 12 29 22 25 First of all thank you for this article and for your many helpful posts on Drupal org I decided to run Drupal on my own server and it helps to get advice from someone who unlike me knows what he is doing I run a few low traffic sites on a small virtual server 512 MB of RAM I probably enable more Drupal modules than I need and so I set memory limit to 96 MB in php ini As a result I started running into trouble too many apache processes eating up my RAM swapping ugh I set MaxClients to 17 apache prefork and decided to switch to the worker MPM and fast CGI as a better solution I followed your instructions and I think I made some improvements I would love to know what you think One of my goals was to make the switch cautiously and with as little down time as possible First a question What is the meaning of the comment Or use this if you use the file above in your php fcgid conf My first step was to keep mpm prefork but switch to mod fcgid I created php fcgid conf by copying from this article and added Options ExecCGI to all my vhost files I wrapped the apache directives for the worker mpm in IfModule mpm worker module IfModule see below so that they would not take effect during this step Then su apt get install libapache2 mod fcgid php5 cgi php5 curl etc init d apache2 stop a2dismod php5 a2enmod fcgid etc init d apache2 start Did I mention that I am running Ubuntu I upgraded to 10 04 LTS yesterday It all went smoothly with almost no down time I could have skipped the a2enmod step because apt get took care of that for me The second step was easy switch from prefork to worker apt get install apache2 mpm worker Again apt get took care of things stopping apache and then starting it again for me Now for the changes I made First in php fcgid conf I made separate sections for the fcgid mpm prefork and mpm worker directives Next I checked the Apache docs and found that the fcgid directives all have new names the ones you use still work but they are deprecated As a bonus I found the documentation for the FcgidMaxProcesses directive formerly MaxProcessCount As a result my php fcgid conf file including some comments and an extra ServerLimit directive for the worker mpm cribbed from the main apache2 conf file looks like this lt IfModule fcgid module gt AddHandler fcgid script fcgi php Where to look for the php ini file FcgidInitialEnv PHPRC etc php5 cgi Maximum requests a process handles before it is terminated original name MaxRequestsPerProcess now deprecated FcgidMaxRequestsPerProcess 1000 Maximum number of PHP processes original name MaxProcessCount now deprecated FcgidMaxProcesses 5 Number of seconds of idle time before a process is terminated original name IPCCommTimeout now deprecated FcgidIOTimeout 240 original name IdleTimeout now deprecated FcgidIdleTimeout 240 Or use this if you use the file above original name FCGIWrapper now deprecated FcgidWrapper usr local bin php wrapper php FcgidWrapper usr bin php cgi php lt IfModule gt BF default values 5 5 10 150 0 prefork MPM StartServers number of server processes to start MinSpareServers minimum number of server processes which are kept spare MaxSpareServers maximum number of server processes which are kept spare MaxClients maximum number of server processes allowed to start MaxRequestsPerChild maximum number of requests a server process serves lt IfModule mpm prefork module gt StartServers 5 MinSpareServers 4 MaxSpareServers 8 MaxClients 17 MaxRequestsPerChild 0 lt IfModule gt worker MPM StartServers initial number of server processes to start MaxClients maximum number of simultaneous client connections MinSpareThreads minimum number of worker threads which are kept spare MaxSpareThreads maximum number of worker threads which are kept spare ThreadsPerChild constant number of worker threads in each server process MaxRequestsPerChild maximum number of requests a server process serves lt IfModule mpm worker module gt StartServers 3 MinSpareThreads 3 MaxSpareThreads 10 ThreadLimit 64 ThreadsPerChild 10 MaxClients 150 MaxRequestsPerChild 1000 ServerLimit 500 lt IfModule gt I know more comments than I need You will notice that I commented out the PHPRC directive and that my PHP wrapper is actually a wrapper and not the cgi executable Not a big deal but I thought that I might also use fcgid for Perl or some other language and they do not need the PHP environment variables I remembered to make the PHP wrapper executable One last change Further down the page in the Apache docs it says that one should set the environment variable PHP FCGI MAX REQUESTS to be at least as large as FcgidMaxRequestsPerProcess Since PHP FCGI MAX REQUESTS defaults to 500 this might explain some of the Fatal error messages you mention at the end of your article If you test this please let us know Again I could have used another FcgidInitialEnv directive to set the environement variable but since I decided to use a wrapper I put it in there Here is my wrapper mostly cribbed from the URL in its first comment bin sh See http httpd apache org mod fcgid mod mod fcgid html examples Set desired PHP FCGI environment variables Example PHP FastCGI processes exit after 500 requests by default Make this FcgidMaxRequestsPerProcess in etc apache2 conf d php fcgid conf PHP FCGI MAX REQUESTS 10000 export PHP FCGI MAX REQUESTS export PHPRC etc php5 cgi Replace with the path to your FastCGI enabled PHP executable exec usr bin php cgi reply Awesome post Submitted by Chris Herberte not verified on Wed 2011 01 19 20 43 I have recently implemented fcgid worker to alleviate excessive memory usage which was causing server stability issues on a cPanel VPS All sites are Drupal as multi site shared core and contributed module code base I have no stats but seems quicker than DSO So far so good swapping no more Question currently I have disabled SUEXEC and wondering if by enabling it there will be any negative impact to the benefits of shared code base eg are additional PHP processes spawned due to running SUEXEC compiled per user or does it work the same as without Hope this makes sense reply Fcgid some instalation problems Submitted by Akshar not verified on Mon 2011 05 30 03 21 Hi All I am trying to install Fcgid but after installing if i try to run any application it gives me Internal Server Error also iam unable to find the file where i should add Order Allow Deny Allow From All Allow Override All Options MultiViews Indexes Includes FollowSymLinks ExecCGI Also when i run aptitude install apache2 mpm worker libapache2 mod fcgid i get this message The following actions will resolve these dependencies Remove the following packages 1 apache2 mpm prefork 2 libapache2 mod php5 Please let me know if iam doing anything wrong Thanks in advance reply From my understanding your Submitted by JK not verified on Wed 2011 10 05 17 09 From my understanding your saying that is not possible to use APC with fcgid because the opcode wont work Thank you reply Yes and no Submitted by Khalid on Wed 2011 10 05 17 21 Yes and no It will not work with one opcode shared memory segment for all the fcgid processes but it will work with each process having its own code So total memory usage is more but it does work out well in the end in most cases reply Thank you for your Submitted by JK not verified on Wed 2011 10 05 17 27 Thank you for your response Do you have an article or example of how to do that I just found this http www brandonturner net blog 2009 07 fastcgi with php opcode cache but is using mod fastcgi instead mod fcgid thank you for your time reply fcgid and apc Submitted by Khalid on Wed 2011 10 05 17 37 Configuring fcgid itself and Apache are covered in detail above in the article we are comment on right now For APC you need the following e g in etc php5 conf d apc ini for Debian Ubuntu extension apc so apc shm size 96 apc rfc1867 1 That is all reply Thank you I have fcgid

    Original URL path: http://2bits.com/articles/apache-fcgid-acceptable-performance-and-better-resource-utilization.html (2016-05-02)
    Open archived version from archive



  •