Mysql2::Error in PostsController#index

User '85b7bd4afbe86acffbfce53f8dcbe668' has exceeded the 'max_user_connections' resource (current value: 2)

Extracted source (around line #12):
10
11
12
13
14
15
              
@q = User.ransack({ combinator: 'and', groupings: grouping_hash })
else
@q = User.ransack(params[:q])
end
@users = @q.result(distinct: true).page(params[:page]).order(updated_at: :desc)
end

Rails.root: /var/app/1707215884896245

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"page"=>"4166", "q"=>{"s"=>"updated_at desc"}}

Response

Headers:

None