PROZONE powered by Tophost
  Home   Forum   Regolamento Help Login Registrati   *
Statistiche
Utenti
Utenti Totali: 1707
Ultimo utente: xal
Statistiche
Posts Totali: 29470
Topics Totali: 3404
Online Oggi: 51
Presenze Massime Online: 559
(23 Luglio 2008, 14:24:28)
Utenti Online
Utenti: 2
Visitatori: 45
Totale: 47
Siti amici
Design & Multimedia

Dire e Fare il blog che ti aiuta

Wordpress
Pagine: [1] 2
 
Autore Topic: ERRORE 500 PERSISTENTE  (Letto 7182 volte)
Dausto
Nuovo Utente
**
Posts: 14


ERRORE 500 PERSISTENTE
« il: 31 Agosto 2007, 17:13:34 »

Buongiorno a tutti,
su uno dei 2 siti ospitati da TopHost si è "conclamato" un persistente ERRORE 500 che non riesco a risolvere.
Premesso che ha cominciato in sordina verso fine giungo, via via in crescendo, al rientro dalle ferie è diventato una vera ossessione: 4 volte su 6 l'indirizzamento al sito va in errore, poi entrati magari si naviga, e poi... !!!!!
Si basa su Joomla 1.0.12 e a giugno avevo installato "Artio JomSEF v1.4.0", poi mi pareva che non desse risultati e l'ho disabilitato fino a disinstallarlo.
Il fatto è che il server Apache non restituisce (o io non ne sono al corrente), come fa p.e. IIS, riferimenti alla pagina/riga o istruzione che ha generato l'errore, quindi effettuare un DEBUG è sostanzialmente impossibile.
Il file .htaccess l'ho ripristinato alla versione STD installata da Joomla (ho provato anche a disabilitare SEO), altri moduli e componenti particolari:
Com Security Image v4.1.0
Com JEvents v1.4 candidate (Calendario eventi)
Com WebLinkPlus
Com eWeather
Com JoomlaStats 2.1.5

Mod jstats_visitors_by_country
Bot LightThumb (che rimpiazza MosImage per una gestione immagini)

Dal pannello di ctrl di T.H. ho già ripristinato lo spazio web, quindi reimpostato i permessi, ma nulla.
Ho già verificato, a livello DB, chiavi e indici duplicati, correggendo quanto non corretto (in effetti ho notato una serie di valori fuori misura, quindi una certa lentezza, ma non credo dipenda dal DB l'errore 500).
 Pazienza Come fare, ammesso che sia a livello di codice, trovare quale paggina va in errore?

Grazie a tutti.
Loggato
lacellula
Moderatore
*
Posts: 1 138


Re: ERRORE 500 PERSISTENTE
« Risposta #1 il: 31 Agosto 2007, 17:43:07 »

Ipotizzo che la mole di query dei componenti e le risorse, utilizzate possano "bloccare" qualche pezzo del CMS che genera l'errore 500. Dovresti disabilitare le statistiche e vedere, a lungo termine, se le cose migliorano. Puoi usare Analytics come valida sostituzione.
Loggato

Dausto
Nuovo Utente
**
Posts: 14


Re: ERRORE 500 PERSISTENTE
« Risposta #2 il: 31 Agosto 2007, 19:06:52 »

Ciao, in effetti è la strada che ho già perseguito.
Considera che attualmente il sito NON HA utenti registrati e, dalle statistiche, vi sono al max 10 utenti giorno, oltre a spider, ecc., quindi direi che dal punto di vista del carico è assolutamente insignificante.
Ho provato a disabilitare tutti i moduli e componenti oltre quelli essenziali, ma la cosa non si è risolta.
L'unica cosa che non ho fatto, e stata quella di commentare nel template il codice relativo le statistiche di JoomlaStats, così da interromperle.
Cosa che provo subito.

Ho un'installazione locale basata su XAMPP e ho visto che in realtà Apache può generare un log di tutti gli errori (peccato che in locale mi funziona tutto!!); è ovvio che il provider T.H. se lo attivasse si troverebbe ul log mostruoso in funzione del numero di portali...

Ma possibile che non ci sia un sistema di intercettare quale sia la pagina o la parte di codice che genera l'errore?
Bah!  :mumble:
Comque grazie.
Loggato
lacellula
Moderatore
*
Posts: 1 138


Re: ERRORE 500 PERSISTENTE
« Risposta #3 il: 31 Agosto 2007, 19:46:44 »

In realtà sono più che sicuro che Tophost abbia sia il log degli accessi, sia degli errori sia il log custom. Detto questo non c'è modo di vedere perché scatta l'errore 500, almeno com modi ortodossi. Per cui possiamo andare ad ipotesi:

1) Per una serie di circostanze qualche script attende troppo tempo. Magari noti rallentamenti eccessivi per caricare, in modo completo, la pagina?
2) Qualche modulo potrebbe non essere compatibile o con il core o con qualche altro modo. In locale funziona sempre, ma magari qualche impostazione di Tophost (specialmente PHP 4.x) fa si che l'errore venga sollevato.
3) Fluttuazioni random nell'iperspazio, dovute perlopiù da campi positronici, che si ripercuotono nel flusso elettronico della CPU del server che scambia i registri EAX ed EBX e riporta l'amato bug della divisione dei primi Pentium <100MHZ.

Escludo che sia un problema di .htaccess perché si sarebbe presentato sempre e non sporadicamente, ma se lo posti posso dare una occhiata.
Loggato

Dausto
Nuovo Utente
**
Posts: 14


Re: ERRORE 500 PERSISTENTE
« Risposta #4 il: 31 Agosto 2007, 21:33:20 »

Ne sono certo anch'io, e se ti facessi leggere la risposta al mio ultimo Ticket di oggi, c'è da scompisciarsi dalle risate (e che non sono uno che rompe: 7 tickets in 2 anni x 2 siti...), cmq una cosa è certa: l'accesso alla home del mio sito scatena una innumerevole quantità di query che ti allego alla fine.
Attivato il log di MySql sulla installazione locale così da verificare i tempi: in effetti la pagina iniziale succhia abbastanza risorse (tieni conto che il mio NB è un centrino T2500 core 2 2 Ghz con 1 Gb RA a 997 Mhz) e vedo la CPU schizzare al 60%, tuttavia analizzando il log delle query che ti allego, il tempo iniziale è H21:49.14 e finale H21:49.32 quindi in tutto 18 secondi, che è sicuramente tanto...
Però c'è anche il fatto che la configurazione del portale, intendo moduli, componenti è template, è invariato da maggio, e inizialmente non avevo problemi.

Codice:
mysql\bin\mysqld.exe, Version: 5.0.45-community-nt-log (MySQL Community Edition (GPL)). started with:
TCP Port: 3306, Named Pipe: mysql
Time                 Id Command    Argument
070831 21:49:14       1 Connect     root@localhost on
      1 Init DB     topskipp42257
      1 Query       SET sql_mode = 'MYSQL40'
      1 Query       SELECT folder, element, published, params
 FROM ts_mambots
 WHERE published >= 1
 AND access <= 0
 AND folder = 'system'
 ORDER BY ordering
070831 21:49:15       1 Query       SELECT id, link
 FROM ts_menu
 WHERE menutype = 'mainmenu'
 AND published = 1
 ORDER BY parent, ordering
LIMIT 1
      1 Query       SELECT template
 FROM ts_templates_menu
 WHERE client_id = 0
 AND ( menuid = 0  OR menuid = 1 )
 ORDER BY menuid DESC
LIMIT 1
      1 Query       DELETE FROM ts_session
 WHERE (
 ( time < '1188588855' )
 AND guest = 0
 AND gid > 0
 ) OR (
 ( time < '1188588855' )
 AND guest = 1
 AND userid = 0
 )
      1 Query       SELECT id FROM ts_mambots WHERE element = 'joomsef_metabot' AND folder = 'system'
      1 Query       SELECT *
 FROM ts_mambots
 WHERE id = '21'
      1 Query       SELECT *
 FROM ts_menu
 WHERE id = 1
      1 Query       SELECT COUNT(a.id)
 FROM ts_content AS a
 INNER JOIN ts_content_frontpage AS f ON f.content_id = a.id
 INNER JOIN ts_categories AS cc ON cc.id = a.catid
 INNER JOIN ts_sections AS s ON s.id = a.sectionid
 LEFT JOIN ts_users AS u ON u.id = a.created_by
 LEFT JOIN ts_groups AS g ON a.access = g.id
 WHERE a.state = 1
 AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2007-08-31 21:49' )
 AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2007-08-31 21:49' )
 AND s.published = 1
 AND cc.published = 1
 AND a.access <= 0
 AND s.access <= 0
 AND cc.access <= 0
070831 21:49:16       1 Query       SELECT a.id, a.title, a.title_alias, a.introtext, a.sectionid, a.state, a.catid, a.created, a.created_by, a.created_by_alias, a.modified, a.modified_by,
 a.checked_out, a.checked_out_time, a.publish_up, a.publish_down, a.images, a.urls, a.ordering, a.metakey, a.metadesc, a.access, a.hits,
 CHAR_LENGTH( a.fulltext ) AS readmore, u.name AS author, u.usertype, s.name AS section, cc.name AS category, g.name AS groups
, s.id AS sec_id, cc.id as cat_id
 FROM ts_content AS a
 INNER JOIN ts_content_frontpage AS f ON f.content_id = a.id
 INNER JOIN ts_categories AS cc ON cc.id = a.catid
 INNER JOIN ts_sections AS s ON s.id = a.sectionid
 LEFT JOIN ts_users AS u ON u.id = a.created_by
 LEFT JOIN ts_groups AS g ON a.access = g.id
 WHERE a.state = 1
 AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2007-08-31 21:49' )
 AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2007-08-31 21:49' )
 AND s.published = 1
 AND cc.published = 1
 AND a.access <= 0
 AND s.access <= 0
 AND cc.access <= 0
 ORDER BY  f.ordering
LIMIT 4
      1 Query       SELECT folder, element, published, params
 FROM ts_mambots
 WHERE access <= 0
 AND folder = 'content'
 ORDER BY ordering
      1 Query       SELECT id FROM ts_mambots WHERE element = 'lightThumb' AND folder = 'content'
      1 Query       SELECT *
 FROM ts_mambots
 WHERE id = '22'
070831 21:49:21       1 Query       SELECT id FROM ts_mambots WHERE element = 'lightThumb' AND folder = 'content'
      1 Query       SELECT *
 FROM ts_mambots
 WHERE id = '22'
070831 21:49:27       1 Query       SELECT params
 FROM ts_mambots
 WHERE element = 'mostips'
 AND folder = 'content'
      1 Query       SELECT id FROM ts_mambots WHERE element = 'lightThumb' AND folder = 'content'
      1 Query       SELECT *
 FROM ts_mambots
 WHERE id = '22'
      1 Query       SELECT a.*
 FROM ts_components AS a
 WHERE ( a.admin_menu_link = 'option=com_syndicate' OR a.admin_menu_link = 'option=com_syndicate&hidemainmenu=1' )
 AND a.option = 'com_syndicate'
      1 Query       SELECT * FROM ts_jstats_configuration
      1 Query       SELECT exclude, type, tld, id FROM ts_jstats_ipaddresses WHERE ip = '127.0.0.1' AND useragent = 'mozilla/5.0 (windows; u; windows nt 5.1; it; rv:1.8.1.6) gecko/20070725 firefox/2.0.0.6'
      1 Query       SELECT id FROM ts_jstats_visits WHERE month =  MONTH(DATE_ADD(NOW(), INTERVAL -1 HOUR)) AND year  =  YEAR(DATE_ADD(NOW(), INTERVAL -1 HOUR)) AND ip_id =  '2399' AND time  >= DATE_ADD(DATE_ADD(NOW(), INTERVAL -1 HOUR), INTERVAL -15 MINUTE)
070831 21:49:28       1 Query       SELECT country_code2 FROM ts_jstats_iptocountry WHERE inet_aton('127.0.0.1') >= ip_from AND inet_aton('127.0.0.1') <= ip_to
070831 21:49:29       1 Query       SELECT LENGTH(browser_string) AS strlen, browser_string, browser_fullname FROM ts_jstats_browsers ORDER BY strlen DESC
      1 Query       SELECT LENGTH(sys_string) AS strlen, sys_string, sys_fullname FROM ts_jstats_systems ORDER BY strlen DESC
      1 Query       UPDATE ts_jstats_ipaddresses SET nslookup = '127.0.0.1', tld = '', system = 'Windows XP', browser = 'FireFox 2.0.0.6', type = 1 WHERE ip = '127.0.0.1' AND useragent = 'mozilla/5.0 (windows; u; windows nt 5.1; it; rv:1.8.1.6) gecko/20070725 firefox/2.0.0.6'
      1 Query       SELECT id FROM ts_jstats_ipaddresses WHERE ip = '127.0.0.1' AND useragent = 'mozilla/5.0 (windows; u; windows nt 5.1; it; rv:1.8.1.6) gecko/20070725 firefox/2.0.0.6'
      1 Query       SELECT id FROM ts_jstats_visits WHERE month =  MONTH(DATE_ADD(NOW(), INTERVAL -1 HOUR)) AND year  =  YEAR(DATE_ADD(NOW(), INTERVAL -1 HOUR)) AND ip_id =  '2399' AND time  >= DATE_ADD(DATE_ADD(NOW(), INTERVAL -1 HOUR), INTERVAL -15 MINUTE)
      1 Query       INSERT INTO ts_jstats_visits (ip_id, hour, day, month, year, time, userid) VALUES (2399, HOUR(DATE_ADD(NOW(), INTERVAL -1 HOUR)), DAYOFMONTH(DATE_ADD(NOW(), INTERVAL -1 HOUR)), MONTH(DATE_ADD(NOW(), INTERVAL -1 HOUR)), YEAR(DATE_ADD(NOW(), INTERVAL -1 HOUR)), DATE_ADD(NOW(), INTERVAL -1 HOUR), '0')
      1 Query       SELECT page_id, page_title FROM ts_jstats_pages WHERE page = 'http://localhost/topskippers/topskippers/'
      1 Query       INSERT INTO ts_jstats_page_request (page_id, hour, day, month, year, ip_id) values (5602, HOUR(DATE_ADD(NOW(), INTERVAL -1 HOUR)), DAYOFMONTH(DATE_ADD(NOW(), INTERVAL -1 HOUR)), MONTH(DATE_ADD(NOW(), INTERVAL -1 HOUR)), YEAR(DATE_ADD(NOW(), INTERVAL -1 HOUR)), 9711)
070831 21:49:30       1 Query       SELECT id, title, module, position, content, showtitle, params
 FROM ts_modules AS m
 INNER JOIN ts_modules_menu AS mm ON mm.moduleid = m.id
 WHERE m.published = 1
 AND m.access <= 0
 AND m.client_id != 1
 AND ( mm.menuid = 0 OR mm.menuid = 1 )
 ORDER BY ordering
      1 Query       SELECT id, name, link, parent, type, menutype, access
 FROM ts_menu
 WHERE published = 1
 AND access <= 0
 ORDER BY menutype, parent, ordering
      1 Query       SELECT m.*
 FROM ts_menu AS m
 WHERE menutype = 'mainmenu'
 AND published = 1
 AND access <= 0
 ORDER BY parent, ordering
      1 Query       SELECT m.*
 FROM ts_menu AS m
 WHERE menutype = 'othermenu'
 AND published = 1
 AND access <= 0
 ORDER BY parent, ordering
      1 Query       SELECT id, params
 FROM ts_menu WHERE
 link = 'index.php?option=com_events'
 AND published = 1
 AND access <= 0
 ORDER BY access ASC
      1 Query       SELECT id
 FROM ts_categories AS b
 WHERE b.access <= 0
 AND b.section = 'com_events'
  AND b.id IN (10,11)
      1 Query       SELECT ts_events.*
 , YEAR(publish_up  ) as yup, MONTH(publish_up  ) as mup, DAYOFMONTH(publish_up  ) as dup
 , YEAR(publish_down) as ydn, MONTH(publish_down) as mdn, DAYOFMONTH(publish_down) as ddn
 , HOUR(publish_up  ) as hup, MINUTE(publish_up  ) as minup, SECOND(publish_up  ) as sup
 , HOUR(publish_down) as hdn, MINUTE(publish_down) as mindn, SECOND(publish_down) as sdn
 FROM (ts_events, ts_categories as b)
 WHERE ts_events.catid = b.id
 AND b.access <= 0
 AND b.published = 1
 AND ts_events.catid IN(-1,10,11)
 AND ts_events.access <= 0
 AND (ts_events.state='1' AND ts_events.checked_out='0')
 AND ((publish_up <= '2007-08-31 00:00:00%' AND publish_down >= '2007-08-31 00:00:00%')
 OR (publish_up <= '2008-01-28 23:59:59%' AND publish_down >= '2008-01-28 23:59:59%')
 OR (publish_up <= '2008-01-28 23:59:59%' AND publish_up >= '2007-08-31 00:00:00%')
 OR (publish_down <= '2008-01-28 23:59:59%' AND publish_down >= '2007-08-31 00:00:00%'))
 ORDER BY publish_up ASC
      1 Query       SELECT *
 FROM ts_banner
 WHERE showBanner = 1
      1 Query       UPDATE ts_banner
 SET impmade = impmade + 1
 WHERE bid = 2
      1 Query       SELECT m.*
 FROM ts_menu AS m
 WHERE menutype = 'topmenu'
 AND published = 1
 AND access <= 0
 AND parent = 0
 ORDER BY ordering
      1 Query       SELECT COUNT( id )
 FROM ts_menu
 WHERE type = 'content_typed'
 AND published = 1
      1 Query       SELECT id
 FROM ts_menu
 WHERE type = 'content_typed'
 AND published = 1
 AND link = 'index.php?option=com_content&task=view&id=3'
      1 Query       SELECT a.id, a.introtext, a.fulltext , a.images, a.attribs, a.title, a.state
 FROM ts_content AS a
 INNER JOIN ts_categories AS cc ON cc.id = a.catid
 INNER JOIN ts_sections AS s ON s.id = a.sectionid
 WHERE a.state = 1
 AND a.access <= 0 AND cc.access <= 0 AND s.access <= 0
 AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2007-08-31 21:49' )
 AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2007-08-31 21:49' )
 AND a.catid = 21
 AND cc.published = 1
 AND s.published = 1
 ORDER BY a.ordering
070831 21:49:31       1 Query       SELECT a.id, a.introtext, a.fulltext , a.images, a.attribs, a.title, a.state
 FROM ts_content AS a
 INNER JOIN ts_categories AS cc ON cc.id = a.catid
 INNER JOIN ts_sections AS s ON s.id = a.sectionid
 WHERE a.state = 1
 AND a.access <= 0 AND cc.access <= 0 AND s.access <= 0
 AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2007-08-31 21:49' )
 AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2007-08-31 21:49' )
 AND a.catid = 19
 AND cc.published = 1
 AND s.published = 1
 ORDER BY a.ordering
      1 Query       SELECT guest, usertype
 FROM ts_session
      1 Query       SELECT DISTINCT a.username
 FROM ts_session AS a
 WHERE a.guest = 0
      1 Query       SELECT id
 FROM ts_menu
 WHERE link = 'index.php?option=com_search'
 AND published = 1
      1 Query       SELECT id, params
 FROM ts_menu WHERE
 link = 'index.php?option=com_events'
 AND published = 1
 AND access <= 0
 ORDER BY access ASC
      1 Query       SELECT id
 FROM ts_categories AS b
 WHERE b.access <= 0
 AND b.section = 'com_events'
      1 Query       SELECT ts_events.*
 , YEAR(publish_up  ) as yup, MONTH(publish_up  ) as mup, DAYOFMONTH(publish_up  ) as dup
 , YEAR(publish_down) as ydn, MONTH(publish_down) as mdn, DAYOFMONTH(publish_down) as ddn
 , HOUR(publish_up  ) as hup, MINUTE(publish_up  ) as minup, SECOND(publish_up  ) as sup
 , HOUR(publish_down) as hdn, MINUTE(publish_down) as mindn, SECOND(publish_down) as sdn
 FROM ts_events
 WHERE ts_events.catid IN(-1,10,11,28,31,32)
 AND ts_events.access <= 0
 AND (((publish_up >= '2007-08-01 00:00:00%' AND publish_up <= '2007-08-31 23:59:59%')
 OR (publish_down >= '2007-08-01 00:00:00%' AND publish_down <= '2007-08-31 23:59:59%')
 OR (publish_up >= '2007-08-01 00:00:00%' AND publish_down <= '2007-08-31 23:59:59%')
 OR (publish_up <= '2007-08-01 00:00:00%' AND publish_down >= '2007-08-31 23:59:59%')
 )
 AND ts_events.state = '1')
 ORDER BY publish_up ASC
      1 Query       SELECT id, params
 FROM ts_menu WHERE
 link = 'index.php?option=com_events'
 AND published = 1
 AND access <= 0
 ORDER BY access ASC
      1 Query       SELECT ts_events.*
 , YEAR(publish_up  ) as yup, MONTH(publish_up  ) as mup, DAYOFMONTH(publish_up  ) as dup
 , YEAR(publish_down) as ydn, MONTH(publish_down) as mdn, DAYOFMONTH(publish_down) as ddn
 , HOUR(publish_up  ) as hup, MINUTE(publish_up  ) as minup, SECOND(publish_up  ) as sup
 , HOUR(publish_down) as hdn, MINUTE(publish_down) as mindn, SECOND(publish_down) as sdn
 FROM ts_events
 WHERE ts_events.catid IN(-1,10,11,28,31,32)
 AND ts_events.access <= 0
 AND (((publish_up >= '2007-09-01 00:00:00%' AND publish_up <= '2007-09-30 23:59:59%')
 OR (publish_down >= '2007-09-01 00:00:00%' AND publish_down <= '2007-09-30 23:59:59%')
 OR (publish_up >= '2007-09-01 00:00:00%' AND publish_down <= '2007-09-30 23:59:59%')
 OR (publish_up <= '2007-09-01 00:00:00%' AND publish_down >= '2007-09-30 23:59:59%')
 )
 AND ts_events.state = '1')
 ORDER BY publish_up ASC
      1 Query       SELECT count(*) AS numbers,ts_jstats_ipaddresses.tld,ts_jstats_topleveldomains.fullname FROM ts_jstats_ipaddresses LEFT JOIN ts_jstats_topleveldomains ON(ts_jstats_ipaddresses.tld = ts_jstats_topleveldomains.tld) LEFT JOIN ts_jstats_visits ON(ts_jstats_ipaddresses.id = ts_jstats_visits.ip_id) WHERE ts_jstats_ipaddresses.type='1' GROUP BY tld ORDER BY numbers DESC, ts_jstats_topleveldomains.fullname ASC
      1 Query       SELECT * FROM ts_eweather_cache WHERE `locid` = 'MBXX0002'
070831 21:49:32       1 Query       UPDATE ts_eweather_cache SET `lastupdate` = '1188589772',`feed` = '<?xml version="1.0" encoding="ISO-8859-1"?><!--This document is intended only for use by authorized licensees of The Weather Channel. Unauthorized use is prohibited. Copyright 1995-2005, The Weather Channel Interactive, Inc. All Rights Reserved.--><weather ver="2.0"><head><locale>en_US</locale><form>MEDIUM</form><ut>C</ut><ud>km</ud><us>km/h</us><up>mb</up><ur>mm</ur></head><loc id="MBXX0002"><dnam>Le Marin, Martinique</dnam><tm>3:49 PM</tm><lat>14.47</lat><lon>-60.87</lon><sunr>5:52 AM</sunr><suns>6:16 PM</suns><zone>-4</zone></loc><cc><lsup>8/31/07 3:00 PM Local Time</lsup><obst>Fort-de-France, Martinique</obst><tmp>31</tmp><flik>36</flik><t>Mostly Cloudy</t><icon>28</icon><bar><r>1012.9</r><d>steady</d></bar><wind><s>27</s><gust>N/A</gust><d>50</d><t>NE</t></wind><hmid>66</hmid><vis>10.0</vis><uv><i>N/A</i><t>N/A</t></uv><dewp>24</dewp><moon><icon>18</icon><t>Waning Gibbous</t></moon></cc><dayf><lsup>8/31/07 9:34 AM Local Time</lsup><day d="0" t="Friday" dt="Aug 31"><hi>29</hi><low>26</low><sunr>5:52 AM</sunr><suns>6:16 PM</suns><part p="d"><icon>39</icon><t>Scattered Showers</t><wind><s>21</s><gust>N/A</gust><d>87</d><t>E</t></wind><bt>Sct Showers</bt><ppcp>30</ppcp><hmid>73</hmid></part><part p="n"><icon>45</icon><t>Scattered Showers</t><wind><s>18</s><gust>N/A</gust><d>101</d><t>E</t></wind><bt>Sct Showers</bt><ppcp>30</ppcp><hmid>84</hmid></part></day><day d="1" t="Saturday" dt="Sep 1"><hi>29</hi><low>26</low><sunr>5:52 AM</sunr><suns>6:15 PM</suns><part p="d"><icon>39</icon><t>Scattered Showers</t><wind><s>21</s><gust>N/A</gust><d>94</d><t>E</t></wind><bt>Sct Showers</bt><ppcp>30</ppcp><hmid>74</hmid></part><part p="n"><icon>45</icon><t>Scattered Showers</t><wind><s>14</s><gust>N/A</gust><d>87</d><t>E</t></wind><bt>Sct Showers</bt><ppcp>30</ppcp><hmid>83</hmid></part></day><day d="2" t="Sunday" dt="Sep 2"><hi>30</hi><low>26</low><sunr>5:52 AM</sunr><suns>6:15 PM</suns><part p="d"><icon>39</icon><t>Scattered Showers</t><wind><s>18</s><gust>N/A</gust><d>81</d><t>E</t></wind><bt>Sct Showers</bt><ppcp>30</ppcp><hmid>73</hmid></part><part p="n"><icon>45</icon><t>Scattered Showers</t><wind><s>8</s><gust>N/A</gust><d>71</d><t>ENE</t></wind><bt>Sct Showers</bt><ppcp>30</ppcp><hmid>79</hmid></part></day><day d="3" t="Monday" dt="Sep 3"><hi>29</hi><low>26</low><sunr>5:52 AM</sunr><suns>6:14 PM</suns><part p="d"><icon>39</icon><t>Scattered Showers</t><wind><s>14</s><gust>N/A</gust><d>73</d><t>ENE</t></wind><bt>Sct Showers</bt><ppcp>30</ppcp><hmid>74</hmid></part><part p="n"><icon>45</icon><t>Scattered Showers</t><wind><s>6</s><gust>N/A</gust><d>75</d><t>ENE</t></wind><bt>Sct Showers</bt><ppcp>30</ppcp><hmid>77</hmid></part></day><day d="4" t="Tuesday" dt="Sep 4"><hi>29</hi><low>26</low><sunr>5:52 AM</sunr><suns>6:13 PM</suns><part p="d"><icon>39</icon><t>Scattered Showers</t><wind><s>14</s><gust>N/A</gust><d>89</d><t>E</t></wind><bt>Sct Showers</bt><ppcp>30</ppcp><hmid>73</hmid></part><part p="n"><icon>11</icon><t>Showers</t><wind><s>8</s><gust>N/A</gust><d>87</d><t>E</t></wind><bt>Showers</bt><ppcp>30</ppcp><hmid>78</hmid></part></day></dayf></weather>' WHERE `id` = '14'
      1 Query       SELECT * FROM ts_menu WHERE `link` = 'index.php?option=com_eweather'
      1 Quit       

Loggato
Dausto
Nuovo Utente
**
Posts: 14


Re: ERRORE 500 PERSISTENTE
« Risposta #5 il: 1 Settembre 2007, 16:06:43 »

Giusto perché le verifiche abbiano un ché di "scientifico": mi sono messo in locale anche l'altro sito (www.giudiziodivino.it) e, guarda, guarda, generato il log delle queries prodotte... SONO BEN IL 35% IN PIU': Verificato il timing di esecuzione complessiva, in tutto sono però sono 6 secondi.
Non capisco!?
Uso lo stesso CMS alla medesima versione, che di base usa gli stessi moduli, anche se un calendario eventi diverso, e su quest'ultimo non c'è eWeather.
Ho quasi l'impressione che l'erore sia generato da richieste scadute alle quali il DB non riesce a dare seguito...
Anche perché, esaminando il DB via PhpMyAdmin su TopHost, tra le "Informazioni Runtime" sul traffico di MySql, scopro che:
Traffico
Ricevuti: 223Gb | x ora: 129 Mb
Spediti: 10 TB | x ora: 6 Gb

Connessioni
Max conessioni contemporanee: 163 (quasi il triplo di GdV)
Tentativi falliti: 164 K | x ora: 92,38 | pari al 0,37%
fallito: 167 K | x ora: 94,32 | pari al 0,38%
Totale: 44 M | x ora: 24,71 K

In sostanza le connessioni mi sembrano uno sproposito!!
Mah! Proverò a fare una reinstallazione di Joomla e a reimportare i contenuti...   :'(
Loggato
Tophost
Moderatore
*
Posts: 970


Re: ERRORE 500 PERSISTENTE
« Risposta #6 il: 2 Settembre 2007, 13:53:20 »

Perchè non postare il nome del sito e come fare per ottenere "l'errore 500" ?
Loggato
Dausto
Nuovo Utente
**
Posts: 14


Re: ERRORE 500 PERSISTENTE
« Risposta #7 il: 2 Settembre 2007, 16:32:09 »

Il nome del sito è quello del mio profilo:
www.topskippers.org
L'errore avviene casualmente: l'accesso alla home 2 volte funziona, 3 va in errore.
L'errore si manifesta al 90% dei casi entrando nella home o usando il link home; una volta entrati si riesce a navigare nei contenuti con una incidenza di errore molto bassa, saltuaria.
L'unico debug on line che sono riuscito a fare è relativo alle queries: disabilitando alcuni moduli come p.e. eWeather, le queries di inizializzazione sulla home sono scese a 34.
Sintassi e indici SQL sono a posto, la cosa strana che installato in locale, così com'è on line, portale e DB, non va mai in errore...
Loggato
lacellula
Moderatore
*
Posts: 1 138


Re: ERRORE 500 PERSISTENTE
« Risposta #8 il: 2 Settembre 2007, 16:49:29 »

Non me ne voglia TH, e nella fattispecie i loro server, ma da quindici minuti premo F5 come un dannato  Occhiolino
Il tempo medio di caricamento è di 5,87 secondi senza cache, mentre con la copia nella cache il load impiega 2,36 secondi di media. C'è da dire che per renderizzare il tutto ci sono richieste di sicuro non spropositate od eccessive, almeno ad una analisi superficiale, ma comunque potrebbero influenzare le prestazioni.

Fino ad ora non ho ricevuto alcun errore 500.
Loggato

Dausto
Nuovo Utente
**
Posts: 14


Re: ERRORE 500 PERSISTENTE
« Risposta #9 il: 2 Settembre 2007, 17:45:09 »

Il caricamento, da me ci impiega molto di più: ho provato, nella configurazione del fronte end originale, a cronometrare oltre 18 secondi!! Ora ne impiega mediamente 13.
Dal punto di vista del rendering, é vero: il fatto di aver creato una pagina i cui contenuti sono racchiusi in una cornice, oltre a logo, banner, e immagini varie, beh, è evidente che succhia qualche risorsa in più. Tuttavia, volendo pesare il rendering, si consideri che tutte le immagini del template (bandierine, cornici, sfondi, lunarossa, ecc) cubano per 50 K.
Le immagini fisse dei contenuti sono mediamente 30/60 K l'una, mentre i thumb del bot "LighThumb" (quello che per intenderci cliccando carica la collection di immagini con effetto slide) pesano 3/4 K l'una...
Insomma, il tutto MEDIAMENTE UN INEZIA!!
E poi, torno a ripetermi: il sito non è ancora ben indicizzato, ne pubblicizzato: se avessi una media di 500 contatti al giorno, cosa succederebbe? (ora ne ho 50 su 7/10 utenti unici...)
Mah!?  Pazienza
Loggato
lacellula
Moderatore
*
Posts: 1 138


Re: ERRORE 500 PERSISTENTE
« Risposta #10 il: 2 Settembre 2007, 18:07:15 »

E poi, torno a ripetermi: il sito non è ancora ben indicizzato, ne pubblicizzato: se avessi una media di 500 contatti al giorno, cosa succederebbe? (ora ne ho 50 su 7/10 utenti unici...)
Mah!?  Pazienza
Credo che prozone ne faccia molti di più...Ho ripetuto il test senza cache:
Loggato

Dausto
Nuovo Utente
**
Posts: 14


Re: ERRORE 500 PERSISTENTE
« Risposta #11 il: 2 Settembre 2007, 18:50:14 »

Per testare le performances, uso questo sito
http://www.websiteoptimization.com/services/analyze/index.html
Lo conosci?
 ^_^ Il fatto è, che su TopSkippers ottiene continuamente ERRORE 500, quindi non riesce a darmi un test.
Loggato
Tophost
Moderatore
*
Posts: 970


Re: ERRORE 500 PERSISTENTE
« Risposta #12 il: 2 Settembre 2007, 19:05:03 »

Non ci sono performance da testare in quanto il sito, a nostro giudizio, è lentissimo. Abbiamo fatto una rapida indagine e possiamo confermare che il problema è dovuto al CMS (più probabilmente a qualche suo modoulo), qualche indizio che può essere utile:
1)non si tratta di QOS da traffico, il sito fa pochissimi accessi ed il problema si verifica anche con 1 (uno) solo visitatore
2)l'esecuzione di index.php abusa in maniera "esagerata" della CPU:
Codice:
Tasks: 259 total,   5 running, 252 sleeping,   0 stopped,   2 zombie
Cpu(s): 59.7% us,  6.1% sy,  0.0% ni, 33.2% id,  0.6% wa,  0.0% hi,  0.4% si
Mem:   4050516k total,  3965436k used,    85080k free,        0k buffers
Swap:  1951888k total,     2780k used,  1949108k free,  3061760k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
 8493 topskipp  25   0 16588 9960 3228 R 91.5  0.2   0:07.03 php               
 8592 xxxxxxxxx 17   0 13900 7028 2956 R  3.0  0.2   0:00.09 php               
 

3)non ci sono problemi di query al database (o almeno non e' il problema di adesso)

4)l'errore 500 viene fornito sostanzialemente per due motivi: Tempo di esecuzione troppo elevato, Esaurimento della memoria da parte del PHP (che e' impostata a 32M)

Direi che c'è poco da fare: "c'è qualche errore grave da qualche parte", consigliamo di togliere tutti i moduli e reinsireirli a mano a mano fino ad evidenziare quello che crea il problema.
Loggato
lacellula
Moderatore
*
Posts: 1 138


Re: ERRORE 500 PERSISTENTE
« Risposta #13 il: 2 Settembre 2007, 19:09:50 »

Per testare le performances, uso questo sito
http://www.websiteoptimization.com/services/analyze/index.html
Lo conosci?
 ^_^ Il fatto è, che su TopSkippers ottiene continuamente ERRORE 500, quindi non riesce a darmi un test.
Si lo conosco. E lo uso per www.lacellula.net, che è hostato negli stati uniti. Ad essere onesto non penso sia affidabile per TopHost a meno che il tuo target non sia a stelle e strisce. Infatti da una shell su un server oltreoceano ho questo risultato

Citazione
[cupcake]$ ping www.prozone.it
PING w-01.th.seeweb.it (217.64.202.205) 56(84) bytes of data.
64 bytes from w-01.th.seeweb.it (217.64.202.205): icmp_seq=1 ttl=56 time=171 ms
64 bytes from w-01.th.seeweb.it (217.64.202.205): icmp_seq=2 ttl=56 time=172 ms
64 bytes from w-01.th.seeweb.it (217.64.202.205): icmp_seq=3 ttl=56 time=174 ms
64 bytes from w-01.th.seeweb.it (217.64.202.205): icmp_seq=4 ttl=56 time=170 ms
64 bytes from w-01.th.seeweb.it (217.64.202.205): icmp_seq=5 ttl=56 time=172 ms
64 bytes from w-01.th.seeweb.it (217.64.202.205): icmp_seq=6 ttl=56 time=174 ms

--- w-01.th.seeweb.it ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5054ms
rtt min/avg/max/mdev = 170.747/172.605/174.720/1.508 ms
[cupcake]$

Mentre dal mio computer ecco cosa vedo:
Citazione
Microsoft Windows XP [Versione 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Fabrizio>ping www.prozone.it

Esecuzione di Ping www.prozone.it [217.64.202.205] con 32 byte di dati:

Risposta da 217.64.202.205: byte=32 durata=62ms TTL=56
Risposta da 217.64.202.205: byte=32 durata=68ms TTL=56
Risposta da 217.64.202.205: byte=32 durata=67ms TTL=56
Risposta da 217.64.202.205: byte=32 durata=68ms TTL=56

Statistiche Ping per 217.64.202.205:
    Pacchetti: Trasmessi = 4, Ricevuti = 4, Persi = 0 (0% persi),
Tempo approssimativo percorsi andata/ritorno in millisecondi:
    Minimo = 62ms, Massimo =  68ms, Medio =  66ms
Praticamente la metà. Posso ipotizzare che con il servizio che hai linkato vengano effettuate numerose richieste tali da far entrare il blocco del QoS.
Loggato

Diavolo_Rosso
Utente Avanzato
*****
Posts: 816


Re: ERRORE 500 PERSISTENTE
« Risposta #14 il: 2 Settembre 2007, 21:31:58 »

Per testare le performances, uso questo sito
http://www.websiteoptimization.com/services/analyze/index.html
Lo conosci?
 ^_^ Il fatto è, che su TopSkippers ottiene continuamente ERRORE 500, quindi non riesce a darmi un test.
Si lo conosco. E lo uso per www.lacellula.net, che è hostato negli stati uniti. Ad essere onesto non penso sia affidabile per TopHost a meno che il tuo target non sia a stelle e strisce. Infatti da una shell su un server oltreoceano ho questo risultato

Citazione
[cupcake]$ ping www.prozone.it
PING w-01.th.seeweb.it (217.64.202.205) 56(84) bytes of data.
64 bytes from w-01.th.seeweb.it (217.64.202.205): icmp_seq=1 ttl=56 time=171 ms
64 bytes from w-01.th.seeweb.it (217.64.202.205): icmp_seq=2 ttl=56 time=172 ms
64 bytes from w-01.th.seeweb.it (217.64.202.205): icmp_seq=3 ttl=56 time=174 ms
64 bytes from w-01.th.seeweb.it (217.64.202.205): icmp_seq=4 ttl=56 time=170 ms
64 bytes from w-01.th.seeweb.it (217.64.202.205): icmp_seq=5 ttl=56 time=172 ms
64 bytes from w-01.th.seeweb.it (217.64.202.205): icmp_seq=6 ttl=56 time=174 ms

--- w-01.th.seeweb.it ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5054ms
rtt min/avg/max/mdev = 170.747/172.605/174.720/1.508 ms
[cupcake]$

Mentre dal mio computer ecco cosa vedo:
Citazione
Microsoft Windows XP [Versione 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Fabrizio>ping www.prozone.it

Esecuzione di Ping www.prozone.it [217.64.202.205] con 32 byte di dati:

Risposta da 217.64.202.205: byte=32 durata=62ms TTL=56
Risposta da 217.64.202.205: byte=32 durata=68ms TTL=56
Risposta da 217.64.202.205: byte=32 durata=67ms TTL=56
Risposta da 217.64.202.205: byte=32 durata=68ms TTL=56

Statistiche Ping per 217.64.202.205:
    Pacchetti: Trasmessi = 4, Ricevuti = 4, Persi = 0 (0% persi),
Tempo approssimativo percorsi andata/ritorno in millisecondi:
    Minimo = 62ms, Massimo =  68ms, Medio =  66ms
Praticamente la metà. Posso ipotizzare che con il servizio che hai linkato vengano effettuate numerose richieste tali da far entrare il blocco del QoS.

se fosse vero dovrebbe scattare il QoS per qualunque sito, mentre psycotic.it viene analizzato correttamente.

inoltre il ping raddoppiato, non lo vedo come un buon motivo per esculdere un tools di analisi. al mio sito giungono visitatori da ogni parte del mondo quindi torna anche utile sapere quanto ci impiegano a visulizzare il sito negli states
Loggato

Pagine: [1] 2
 
 
Salta a:  

Oggetto Iniziato da Risposte Visto Ultimo Post
Poco Pagare Poco Avere... Vero O No? « 1 2 » Qbic 15 10897 Ultimo Post 15 Novembre 2008, 14:49:51
da alberto.pizzarelli
[pillola]mod Rewrite SuperSavio 4 4702 Ultimo Post 5 Luglio 2006, 16:00:35
da effe8
Controllo Risorse Nell'hosting Condiviso effe8 10 10140 Ultimo Post 22 Maggio 2008, 15:41:19
da Darknico
PHP come modulo o come CGI? lacellula 2 4435 Ultimo Post 14 Giugno 2007, 18:30:19
da gja
Tophost: Ancora Sul Mysql Tophost 12 5927 Ultimo Post 7 Novembre 2005, 19:27:21
da Qbic
Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC
Traduzione Italiana a cura di SMItalia

TinyPortal v0.9.8 © Bloc
XHTML 1.0 Valido! CSS Valido!


Ultima visita di Google a questa pagina 31 Luglio 2010, 16:39:17