Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy is this request taking 10x longer?
    text
    copied!<p>I am experimenting with an upload action of a Rails application on my MacOS and a VPS context. On my MacOS I see:</p> <pre><code>Completed 200 OK in 462ms (Views: 0.2ms | ActiveRecord: 19.4ms) </code></pre> <p>However, on the VPS I get:</p> <pre><code>Completed 200 OK in 21762ms (Views: 0.1ms | ActiveRecord: 29.0ms) </code></pre> <p>The Rails action is just saving a file with paperclip, and the processing with rmagick looks like:</p> <pre> Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dp/d61_ggqs0zvg9dcnybvfjgb40000gn/T/Bildschirmfoto 2013-01-27 um 16.39.0020130127-3196-8zjox1.png[0]' Command :: identify -format %m '/var/folders/dp/d61_ggqs0zvg9dcnybvfjgb40000gn/T/Bildschirmfoto 2013-01-27 um 16.39.0020130127-3196-8zjox1.png[0]' Command :: identify -format %m '/var/folders/dp/d61_ggqs0zvg9dcnybvfjgb40000gn/T/Bildschirmfoto 2013-01-27 um 16.39.0020130127-3196-8zjox1.png[0]' Command :: convert '/var/folders/dp/d61_ggqs0zvg9dcnybvfjgb40000gn/T/Bildschirmfoto 2013-01-27 um 16.39.0020130127-3196-8zjox1.png[0]' -auto-orient -resize "100x" -crop "100x100+0+0" +repage '/var/folders/dp/d61_ggqs0zvg9dcnybvfjgb40000gn/T/Bildschirmfoto 2013-01-27 um 16.39.0020130127-3196-8zjox120130127-3196-16s5ce0' Command :: file -b --mime '/var/folders/dp/d61_ggqs0zvg9dcnybvfjgb40000gn/T/Bildschirmfoto 2013-01-27 um 16.39.0020130127-3196-8zjox120130127-3196-16s5ce0' Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dp/d61_ggqs0zvg9dcnybvfjgb40000gn/T/Bildschirmfoto 2013-01-27 um 16.39.0020130127-3196-8zjox1.png[0]' Command :: identify -format %m '/var/folders/dp/d61_ggqs0zvg9dcnybvfjgb40000gn/T/Bildschirmfoto 2013-01-27 um 16.39.0020130127-3196-8zjox1.png[0]' Command :: identify -format %m '/var/folders/dp/d61_ggqs0zvg9dcnybvfjgb40000gn/T/Bildschirmfoto 2013-01-27 um 16.39.0020130127-3196-8zjox1.png[0]' Command :: convert '/var/folders/dp/d61_ggqs0zvg9dcnybvfjgb40000gn/T/Bildschirmfoto 2013-01-27 um 16.39.0020130127-3196-8zjox1.png[0]' -auto-orient -resize "50x" -crop "50x38+0+6" +repage '/var/folders/dp/d61_ggqs0zvg9dcnybvfjgb40000gn/T/Bildschirmfoto 2013-01-27 um 16.39.0020130127-3196-8zjox120130127-3196-1n2s0ck' Command :: file -b --mime '/var/folders/dp/d61_ggqs0zvg9dcnybvfjgb40000gn/T/Bildschirmfoto 2013-01-27 um 16.39.0020130127-3196-8zjox120130127-3196-1n2s0ck' </pre> <p>What's going on?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload