Error logs and bandwidth issues
WordPress Event Management, Calendars & Registration › Forums › General Question › Error logs and bandwidth issues
This topic contains 5 replies, has 2 voices, and was last updated by Stephen Harris 9 years, 8 months ago.
-
AuthorPosts
-
July 1, 2015 at 11:45 am #17660
Hello Stephen,
My hosting providers contacted me because a website of mine that’s heavily using your plugin is generating huge log errors, eating up bandwidth etc.
I also have reports from my users saying that they have some difficulties accessing some pages, especially the calendar page.
I’ve developed a few dozens of wordpress websites and I’ve never seen logs like this before, so here I am reaching out to you.
The following is one of the warns I get in the log:
[Wed Jul 01 10:14:31 2015] [warn] [client 89.114.233.18] mod_fcgid: stderr: :66:\\"http://festivalsilencio.com/events/event/ouco-historias-de-amor-2/\\";s:6:\\"allDay\\";b:0;s:5:\\"start\\";s:19:\\"2015-07-05T16:00:00\\";s:3:\\"end\\";s:19:\\"2015-07-05T20:00:00\\";s:11:\\"description\\";s:713:\\"Julho 5, 2015 16:00 - 20:00</br></br>Esta\xc3\xa7\xc3\xb5es de escuta ser\xc3\xa3o montadas no espa\xc3\xa7o p\xc3\xbablico onde um ouvidor de hist\xc3\xb3rias estar\xc3\xa1 dispon\xc3\xadvel para ouvir as hist\xc3\xb3rias e desabafos de amor dos transeuntes. Os Contabandistas de Est\xc3\xb3rias s\xc3\xa3o um grupo de cinco contadores de origens e nacionalidades diferentes: Antonella, de It\xc3\xa1lia, Ant\xc3\xb3nio, natural de Angola, Cl\xc3\xa1udia, brasileira, Lu\xc3\xadsa, lisboeta e Sofia, natural da...ContosEspect\xc3\xa1culosPerformance\\";s:9:\\"className\\";a:13:{i:0;s:31:\\"eo-event-venue-ribeira-das-naus\\";i:1;s:19:\\"eo-event-cat-contos\\";i:2;s:25:\\"eo-event-cat-espectaculos\\";i:3;s:24:\\"eo-event-cat-performance\\";i:4;s:39:\\"eo-event-tag-contabandistas-de-estorias\\";i:5;s:15:\\"eo-event-future\\";i:6;s:8:\\"eo-event\\";i:7;s:15:\\"eo-future-event\\";i:8;s:22:\\"venue-ribeira-das-naus\\";i:9;s:15:\\"category-contos\\";i:10;s:21:\\"category-espectaculos\\";i:11;s:20:\\"category-performance\\";i:12;s:30:\\"tag-contabandistas-de-estorias\\";}s:5:\\"venue\\";i:197;s:8:\\"category\\";a:3:{i:0;s:6:\\"contos\\";i:1;s:12:\\"espectaculos\\";i:2;s:11:\\"performance\\";}s:4:\\"tags\\";a:1:{i:0;s:26:\\"contabandistas-de-estorias\\";}s:9:\\"textColor\\";s:7:\\"#ffffff\\";s:7:\\"country\\";s:0:\\"\\";s:4:\\"city\\";s:6:\\"Lisboa\\";s:5:\\"state\\";s:0:\\"\\";}i:58;a:14:{s:5:\\"title\\";s:22:\\"Desfile Marcha da Bica\\";s:3:\\"url\\";s:64:\\"http://festivalsilencio.com/events/event/desfile-marcha-da-bica/\\";s:6:\\"allDay\\";b:0;s:5:\\"start\\";s:19:\\"2015-07-05T16:00:00\\";s:3:\\"end\\";s:19:\\"2015-07-05T16:20:00\\";s:11:\\"description\\";s:439:\\"Julho 5, 2015 16:00 - 16:20</br></br>A Marcha da Bica Hoje a marcha sai, mas que reina\xc3\xa7\xc3\xa3o Vem o bairro inteiro que eu j\xc3\xa1 sei Olha como vai c\xc3\xa1 o meu bal\xc3\xa3o Belo companheiro que arranjei Quando a Bica tem que mostrar quem \xc3\xa9 Tem sempre alegria at\xc3\xa9 ao fim \xc3\x80 rua n\xc3\xa3o vem quem lhe bata o p\xc3\xa9 Onde ela...Interven\xc3\xa7\xc3\xb5es Espa\xc3\xa7o P\xc3\xbablico\\";s:9:\\"className\\";a:9:{i:0;s:31:\\"eo-event-venue-largo-de-s-paulo\\";i:1;s:40:\\"eo-event-cat-intervencoes-espaco-publico\\";i:2;s:27:\\"eo-event-tag-marcha-da-bica\\";i:3;s:15:\\"eo-event-future\\";i:4;s:8:\\"eo-event\\";i:5;s:15:\\"eo-future-event\\";i:6;s:22:\\"venue-largo-de-s-paulo\\";i:7;s:36:\\"category-intervencoes-espaco-publico\\";i:8;s:18:\\"tag-marcha-da-bica\\";}s:5:\\"venue\\";i:32;s:8:\\"category\\";a:1:{i:0;s:27:\\"intervencoes-espaco-publico\\";}s:4:\\"tags\\";a:1:{i:0;s:14:\\"marcha-da-bica\\";}s:9:\\"textColor\\";s:7:\\"#ffffff\\";s:7:\\"country\\";s:0:\\"\\";s:4:\\"city\\";s:6:\\"Lisboa\\";s:5:\\"state\\";s:0:\\"\\";}i:59;a:14:{s:5:\\"title\\";s:9:\\"Zil\xc3\xaancio\\";s:3:\\"url\\";s:50:\\"http://festivalsilencio.com/events/event/zilencio/\\";s:6:\\"allDay\\";b:0;s:5:\\"start\\";s:19:\\"2015-07-05T16:00:00\\";s:3:\\"end\\";s:19:\\"2015-07-05T21:00:00\\";s:11:\\"description\\";s:486:\\"Julho 5, 2015 16:00 - 21:00</br></br>Feira de fanzines e publica\xc3\xa7\xc3\xb5es independentes. As fanzines parecem ter voltado para ficar. Quem o diz \xc3\xa9 o mercado nacional que, ao longos dos \xc3\xbaltimos anos, tem sido marcado pela prolifera\xc3\xa7\xc3\xa3o de novos projectos fruto das ideias e trabalho de cidad\xc3\xa3o an\xc3\xb3nimos ou interessados. Nascidas em grupos de amigos ou colectivos independentes, assentes em novas...Feiras\\";s:9:\\"className\\";a:11:{i:0;s:28:\\"eo-event-venue-jardim-d-luis\\";i:1;s:19:\\"eo-event-cat-feiras\\";i:2;s:21:\\"eo-event-tag-flanzine\\";i:3;s:28:\\"eo-event-tag-oficina-do-cego\\";i:4;s:15:\\"eo-event-future\\";i:5;s:8:\\"eo-event\\";i:6;s:15:\\"eo-future-event\\";i:7;s:19:\\"venue-jardim-d-luis\\";i:8;s:15:\\"category-feiras\\";i:9;s:12:\\"tag-flanzine\\";i:10;s:19:\\"tag-oficina-do-cego\\";}s:5:\\"venue\\";i:378;s:8:\\"category\\";a:1:{i:0;s:6:\\"feiras\\";}s:4:\\"tags\\";a:2:{i:0;s:8:\\"flanzine\\";i:1;s:15:\\"oficina-do-cego\\";}s:9:\\"textColor\\";s:7:\\"#ffffff\\";s:7:\\"country\\";s:0:\\"\\";s:4:\\"city\\";s:6:\\"Lisboa\\";s:5:\\"state\\";s:0:\\"\\";}i:60;a:14:{s:5:\\"title\\";s:16:\\"A Viagem Im\xc3\xb3vel\\";s:3:\\"url\\";s:57:\\"http://festivalsilencio.com/events/event/a-viagem-imovel/\\";s:6:\\"allDay\\";b:0;s:5:\\"start\\";s:19:\\"2015-07-05T16:00:00\\";s:3:\\"end\\";s:19:\\"2015-07-05T20:00:00\\";s:11:\\"description\\";s:640:\\"Julho 5, 2015 16:00 - 20:00</br></br>As bibliotecas tamb\xc3\xa9m podem ser espa\xc3\xa7os abertos e ruidosos. Ribeira \xc3\xa9 voc\xc3\xa1bulo que remete para o s\xc3\xadtio de uma localidade, nas margens de um rio. Em Lisboa, identificava uma extensa faixa junto ao Tejo, exterior \xc3\xa0s cercas medievais, come\xc3\xa7ando nas Portas da Cruz, a oriente, e seguindo no sentido de poente at\xc3\xa9 \xc3\xa0 Porta da...Interven\xc3\xa7\xc3\xb5es Espa\xc3\xa7o P\xc3\xbablicoPercurso Saramago: A Viagem N\xc3\xa3o Acaba Nunca\\";s:9:\\"className\\";a:11:{i:0;s:31:\\"eo-event-venue-ribeira-das-naus\\";i:1;s:40:\\"eo-event-cat-intervencoes-espaco-publico\\";i:2;s:30:\\"eo-event-cat-percurso-saramago\\";i:3;s:25:\\"eo-event-tag-tell-a-story\\";i:4;s:15:\\"eo-event-future\\";i:5;s:8:\\"eo-event\\";i:6;s:15:\\"eo-future-event\\";i:7;s:22:\\"venue-ribeira-das-naus\\";i:8;s:36:\\"category-intervencoes-espaco-publico\\";i:9;s:26:\\"category-percurso-saramago\\";i:10;s:16:\\"tag-tell-a-story\\";}s:5:\\"venue\\";i:197;s:8:\\"category\\";a:2:{i:0;s:27:\\"intervencoes-espaco-publico\\";i:1;s:17:\\"percurso-saramago\\";}s:4:\\"tags\\";a:1:{i:0;s:12:\\"tell-a-story\\";}s:9:\\"textColor\\";s:7:\\"#ffffff\\";s:7:\\"country\\";s:0:\\"\\";s:4:\\"city\\";s:6:\\"Lisboa\\";s:5:\\"state\\";s:0:\\"\\";}i:61;a:14:{s:5:\\"title\\";s:40:\\"Jos\xc3\xa9 Cardoso Pires \xe2\x80\x93 Di\xc3\xa1rio de Bordo\\";s:3:\\"url\\";s:76:\\"http://festivalsilencio.com/events/event/jose-cardoso-pires-diario-de-bordo/\\";s:6:\\"allDay\\";b:0;s:5:\\"start\\";s:19:\\"2015-07-05T16:00:00\\";s:3:\\"end\\";s:19:\\"2015-07-05T17:15:00\\";s:11:\\"description\\";s:548:\\"Julho 5, 2015 16:00 - 17:15</br></br>No ano em que Jos\xc3\xa9 Cardoso Pires recebeu o Pr\xc3\xa9mio Pessoa, Manuel Mozos filmou um retrato daquele que foi um dos grandes autores da l\xc3\xadngua portuguesa. Entre os temas abordados neste filme est\xc3\xa3o a sua vida e escrita, o cinema, o erotismo e a morte. FICHA T\xc3\x89CNICA com Ant\xc3\xb3nio Lobo Antunes, Ant\xc3\xb3nio Tabucchi, Edite Cardoso...CinemaWord Docs\\";s:9:\\"className\\";a:9:{i:0;s:51:\\"eo-event-venue-fundacao-portuguesa-das-comunicacoes\\";i:1;s:19:\\"eo-event-cat-cinema\\";i:2;s:22:\\"eo-event-cat-word-docs\\";i:3;s:15:\\"eo-event-future\\";i:4;s:8:\\"eo-event\\";i:5;s:15:\\"eo-future-event\\";i:6;s:42:\\"venue-fundacao-portuguesa-das-comunicacoes\\";i:7;s:15:\\"category-cinema\\";i:8;s:18:\\"category-word-docs\\";}s:5:\\"venue\\";i:203;s:8:\\"category\\";a:2:{i:0;s:6:\\"cinema\\";i:1;s:9:\\"word-docs\\";}s:4:\\"tags\\";a:0:{}s:9:\\"
This is repeated thousands of times in the log, with differences in the content of course. Every time someone accesses the website, there’s a huge dump of warnings just like this.
Do you know the reason behind this? What can we do about it?
In the meantime I’m also investigating this issue myself.
Tyvm!
Duarte Lourenco
July 1, 2015 at 11:06 pm #17671Hi Duarte,
I’ve not seen this before, but that looks like cached data for the fullCalendar. It could be that the cached data is corrupted and causing an error when its unserialised.
You could disable that cache with:
add_filter( 'pre_transient_eo_full_calendar_public', '__return_null' ); add_filter( 'pre_transient_eo_full_calendar_public_priv', '__return_null' );
Stephen Harris
July 2, 2015 at 12:29 pm #17690Thanks for the fast answer!
I’ll try having that code up for a few hours to see how it goes.
I also remembered that I have 4 eo_fullcalendar shortcodes in a single page, each displaying only one day, so that I can display the whole duration of a festival. (With a week view I would also display 3 empty days, that’s why I didn’t use it)
Do you think having 4 of these in one page is problematic?
Duarte Lourenco
July 2, 2015 at 5:38 pm #17699I don’t think so. Having 4 calendars means 4 separate ajax calls. In effect the demand on the server is multiplied by 4 (roughly). In short if your server can handle ~4 times your average concurrent users you should be fine.
Stephen Harris
July 2, 2015 at 5:43 pm #17700Hmm ok!
I did add the code and those particular errors disappeared. Do you know if the site gets slower with the cache disabled, though?
Duarte Lourenco
July 2, 2015 at 7:58 pm #17703It should’t be faster… ;).
By default when the plug-in creates a data-set for a particular month / week / day, it stores it so that it doesn’t have to recreate it next time its requested. How much time that saves you, really depend on how long it takes to create that data set.
In theory, pulling dates out of a database and putting them into an array is not particular expensive, however, Event Organiser can be running alongside any number of plug-ins any one of which might be doing some expensive operation that would slow things down. How much time caching will save you will depend on such factors as well as how quick your server and mysql instance is,
Stephen Harris
-
AuthorPosts