greyoxide
greyoxide
RRailway
Created by greyoxide on 12/26/2023 in #✋|help
Getting memory errors when I try to interact with ActiveRecord models
Just tested this by standing up a Linode server and deploying my app to it. No changes have been made to the app. Everything works great on the linode server, there's no memory allocation errors. Based on the portion of the picture I can see, this seems like an infrustructure issue with Railway.
18 replies
RRailway
Created by greyoxide on 12/26/2023 in #✋|help
Getting memory errors when I try to interact with ActiveRecord models
I guess none of this really matters, the big issue in my mind is that the railway console returns a different error than the observability layer logs.
18 replies
RRailway
Created by greyoxide on 12/26/2023 in #✋|help
Getting memory errors when I try to interact with ActiveRecord models
Also, whats weird is that in Ruby I don't really have access to memory assignemnts. The only thing I can think of would be a gem that uses C functions.
18 replies
RRailway
Created by greyoxide on 12/26/2023 in #✋|help
Getting memory errors when I try to interact with ActiveRecord models
I think there's an issue with the new Postgres service. Before I switched I was able to perform any migration, now I can't do anything.
18 replies
RRailway
Created by greyoxide on 12/28/2023 in #✋|help
Talk to an Engineer form busted
is there someone I can notify about the contat form being busted?
19 replies
RRailway
Created by greyoxide on 12/28/2023 in #✋|help
Talk to an Engineer form busted
Thanks for your help
19 replies
RRailway
Created by greyoxide on 12/28/2023 in #✋|help
Talk to an Engineer form busted
wouldn't memory allocation errors be the kind of thing you see in a language like C? where you have to manually manage memory?
19 replies
RRailway
Created by greyoxide on 12/28/2023 in #✋|help
Talk to an Engineer form busted
Im using 15 in dev, and I'm using this gem: https://github.com/ged/ruby-pg
19 replies
RRailway
Created by greyoxide on 12/28/2023 in #✋|help
Talk to an Engineer form busted
It runs great in dev, and this only happened after I updated the database container to the new format.
19 replies
RRailway
Created by greyoxide on 12/28/2023 in #✋|help
Talk to an Engineer form busted
Its weird to me that I got one error in the console and a different error in the observability logs.
19 replies
RRailway
Created by greyoxide on 12/28/2023 in #✋|help
Talk to an Engineer form busted
19 replies
RRailway
Created by greyoxide on 12/28/2023 in #✋|help
Talk to an Engineer form busted
I asked it yesterday. let me see if I can find the title just a minute.
19 replies
RRailway
Created by greyoxide on 12/28/2023 in #✋|help
Talk to an Engineer form busted
N/A
19 replies
RRailway
Created by greyoxide on 12/26/2023 in #✋|help
Getting memory errors when I try to interact with ActiveRecord models
ok after a little digging in the logs I discovered the following error: 2023-12-27 03:15:08.891 UTC [100] FATAL: no PostgreSQL user name specified in startup packet 2023-12-27 03:15:08.934 UTC [101] FATAL: no PostgreSQL user name specified in startup packet I have this in my config/database.yml production: adapter: postgresql encoding: unicode pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> database: <%= ENV['PGDATABASE'] %> username: <%= ENV['PGUSER'] %> password: <%= ENV['PGPASSWORD'] %> host: <%= ENV['PGHOST'] %> port: <%= ENV['PGPORT'] %> irb(main):001> ENV['PGUSER'] => "postgres" at this point Im not sure what to do. I feel like I have all of the credentials set correctly. Also, Im not sure why attempting to run railway run rails db:create would return an error message about memory and the railway logs would have an entirely different error message about a username not being supplied.
18 replies
RRailway
Created by greyoxide on 12/26/2023 in #✋|help
Getting memory errors when I try to interact with ActiveRecord models
The same command in development runs no problem.
18 replies
RRailway
Created by greyoxide on 12/26/2023 in #✋|help
Getting memory errors when I try to interact with ActiveRecord models
when I try to run railway run rails db:migrate I get an error which looks a little different ruby(27769,0x1d995dec0) malloc: error for object 0x52: pointer being freed was not allocated ruby(27769,0x1d995dec0) malloc: set a breakpoint in malloc_error_break to debug
18 replies
RRailway
Created by greyoxide on 12/26/2023 in #✋|help
Getting memory errors when I try to interact with ActiveRecord models
04f4c8ba-1da2-48d6-a1fb-ccf7916d1039
18 replies
RRailway
Created by greyoxide on 10/9/2023 in #✋|help
Unable to add domain name
in all cases though, I consistantly get a 'failed to open page' error regardless.
11 replies
RRailway
Created by greyoxide on 10/9/2023 in #✋|help
Unable to add domain name
No description
11 replies
RRailway
Created by greyoxide on 10/9/2023 in #✋|help
Unable to add domain name
No description
11 replies