{"id":307,"date":"2010-12-30T11:22:34","date_gmt":"2010-12-30T10:22:34","guid":{"rendered":"http:\/\/blog.unelink.es\/?p=307"},"modified":"2019-05-16T10:58:32","modified_gmt":"2019-05-16T08:58:32","slug":"mis-paginas-webs-tardan-en-mostrarse-en-mi-vps-o-servidor-virtual","status":"publish","type":"post","link":"https:\/\/hosting.airetech.es\/blog\/wiki\/mis-paginas-webs-tardan-en-mostrarse-en-mi-vps-o-servidor-virtual\/","title":{"rendered":"Mis p\u00e1ginas webs tardan en mostrarse en mi Servidor Virtual (VPS)"},"content":{"rendered":"<p>Es probable que cuando existen un gr\u00e1n numero de p\u00e1ginas webs en un mismo servidor virtual, estas tarden en mostrarse, eso es ocasionado por el limite del valor <em>MaxClients<\/em> dentro del fichero apache2.conf.<\/p>\n<p>Por norma general dicho fichero se encuentra en: \/etc\/apache2\/apache2.conf<\/p>\n<p>Si no est\u00e1 seguro de donde se encuentra su fichero de configuraci\u00f3n de apache, puede escribir lo siguiente dentro de una consola SSH:<\/p>\n<pre>#updatedb\r\n#locate apache2.conf (esto le mostrar\u00e1 la ruta donde se encuentra su fichero de configuraci\u00f3n apache2.conf)<\/pre>\n<p>Una vez encontrado su fichero debe de situarse en el directorio donde este se encuentra y escribir en su consola ssh:<\/p>\n<pre>#nano apache2.conf (para editarlo)<\/pre>\n<p>Deber\u00e1 localizar y cambiar los siguientes valores, a continuaci\u00f3n le indicamos en modo de ejemplo los valores ideales para un <a title=\"Servidor virtual profesional\" href=\"https:\/\/www.unelink.es\/servidores-virtuales-33.html\" target=\"_blank\" rel=\"noopener noreferrer\">servidor virtual Profesional II<\/a> de Unelink.<\/p>\n<pre>&lt;IfModule mpm_prefork_module&gt;\r\nStartServers 5\r\nMinSpareServers 5\r\nMaxSpareServers 32\r\nServerLimit 1024\r\nMaxClients 1024\r\nMaxRequestsPerChild 0\r\n&lt;\/IfModule&gt;\r\n\r\n&lt;IfModule mpm_worker_module&gt;\r\nStartServers 2\r\nMaxClients 190\r\nMinSpareThreads 25\r\nMaxSpareThreads 75\r\nThreadsPerChild 25\r\nMaxRequestsPerChild 0\r\n&lt;\/IfModule&gt;<\/pre>\n<p>Recuerde: Si su servidor es un <a title=\"servidor virtual inicia\" href=\"https:\/\/www.unelink.es\/servidores-virtuales-33.html\" target=\"_blank\" rel=\"noopener noreferrer\">servidor virtual inicia I<\/a> o con menos memoria RAM que la gama de <a title=\"servidores virtuales profesionales\" href=\"https:\/\/www.unelink.es\/servidores-virtuales-33.html\" target=\"_blank\" rel=\"noopener noreferrer\">virtuales profesionales<\/a>, deber\u00e1 bajar estos valores para que su sistema no use m\u00e1s memoria de la que dispone ya que si esto sucediese su servidor quedar\u00e1 sin memoria disponible y puede no funcionar correctamente.<\/p>\n","protected":false},"excerpt":{"rendered":"Es probable que cuando existen un gr\u00e1n numero de p\u00e1ginas webs en un mismo servidor virtual, estas tarden en mostrarse, eso es ocasionado por el limite del valor MaxClients dentro del fichero apache2.conf. Por norma general dicho fichero se encuentra en: \/etc\/apache2\/apache2.conf Si no est\u00e1 seguro de donde se encuentra su fichero de configuraci\u00f3n de apache, puede escribir lo siguiente&nbsp;<a href=\"https:\/\/hosting.airetech.es\/blog\/wiki\/mis-paginas-webs-tardan-en-mostrarse-en-mi-vps-o-servidor-virtual\/\" class=\"read-more\">Seguir leyendo<\/a>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10,349,6],"tags":[32,216,214],"class_list":["post-307","post","type-post","status-publish","format-standard","hentry","category-linux","category-ssh","category-wiki","tag-apache","tag-linux","tag-servidores-virtuales-vps","cat-10-id","cat-349-id","cat-6-id"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts\/307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/comments?post=307"}],"version-history":[{"count":13,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts\/307\/revisions"}],"predecessor-version":[{"id":8423,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts\/307\/revisions\/8423"}],"wp:attachment":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/media?parent=307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/categories?post=307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/tags?post=307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}