Help with Rails and PG Production Bug?

14 views
Skip to first unread message

Praveen Singh

unread,
Mar 22, 2019, 6:57:29 PM3/22/19
to bangal...@googlegroups.com
Hi fellow Developers,

We are facing a production bug, not able to solve this, can you suggest some fixes


   An ActiveRecord::StatementInvalid occurred in custom_session#create:


PG::DiskFull: ERROR:  could not extend file "base/62097/66784": No space left on device



Production Server custom_session#create (ActiveRecord::StatementInvalid) "PG::DiskFull: ERROR: could not extend file \"...


Thanks a lot,
Praveen

Sent from my iPhone

Aboobacker MK

unread,
Mar 22, 2019, 11:02:30 PM3/22/19
to bangal...@googlegroups.com
Checked if you have enough space left remains in the disk as error message says ?
--
You received this message because you are subscribed to the Google Groups "BANGALORE RUG-Ruby Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bangalorerug+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Regards
Aboobacker MK

Swanand Pagnis

unread,
Mar 23, 2019, 6:10:22 AM3/23/19
to bangal...@googlegroups.com
+1. More specifically, your database server is out of disk space. If you can, try running "vacuum full analyze" on your database server:

```
# ssh into the server
sudo su - postgres
nohup psql -c "VACUUM FULL ANALYZE" &
```

nohup because this command may take a really long time to run depending on your database size.

On Sat, 23 Mar 2019 at 08:32, Aboobacker MK <abooba...@gmail.com> wrote:
Checked if you have enough space left remains in the disk as error message says ?

On Saturday, March 23, 2019, Praveen Singh <pra...@99tests.com> wrote:
Hi fellow Developers,

We are facing a production bug, not able to solve this, can you suggest some fixes


   An ActiveRecord::StatementInvalid occurred in custom_session#create:


PG::DiskFull: ERROR:  could not extend file "base/62097/66784": No space left on device



Production Server custom_session#create (ActiveRecord::StatementInvalid) "PG::DiskFull: ERROR: could not extend file \"...


Thanks a lot,
Praveen

Sent from my iPhone

--
You received this message because you are subscribed to the Google Groups "BANGALORE RUG-Ruby Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bangalorerug...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Regards
Aboobacker MK

--
You received this message because you are subscribed to the Google Groups "BANGALORE RUG-Ruby Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bangalorerug...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages