daylerees / anbu

Anbu profiler for the Laravel PHP Framework.
308 stars 24 forks source link

Error #22

Open ghost opened 10 years ago

ghost commented 10 years ago

SQLSTATE[08S01]: Communication link failure: 1153 Got a packet bigger than 'max_allowed_packet' bytes (SQL: insert into anbu (uri, time, storage, updated_at, created_at) values (GET user/logout, 1.3028910160065, YToxMDp7czo5OiJkYXNoYm9hcmQiO2E6Mzp7czo0OiJkYXRhIjthOjA6e31zOjY6Imdsb2JhbCI7YToxOntzOjc6InZlcnNpb24iO3M6NToiNC4yLjkiO31zOjU.......

daylerees commented 10 years ago

If you're dealing with a lot of data (tons of routes debug or logs) then the storage (to view past requests) will be large. You'd either need to increase the allowed packet size, or I guess have smaller data haha. I'll be including a "file" driver for Anbu soon that should get around this.