This is my first time using App Engine for a client. I have a rails project 
that I've been trying to deploy all day and I can't, for the life of me, 
figure out what I'm doing wrong.

One of the gems requires a freetds installed. I muddled my way around and 
realized that during deployment, a Dockerfile is generated and provided in 
STDOUT that I could use as a "custom runtime". I copied it and created the 
Dockerfile while adding lines to download, compile, and install the latest 
version. Up to this point, everything seems fine things compile and so do 
my gems.

Now. My issue is that it won't progress much further than that. When it 
gets to the access_cloud_sql step, it fails with the following error:

ERROR: Failed to start cloud_sql_proxy
> 2019/05/07 22:44:49 current FDs rlimit set to 1048576, wanted limit is 
> 8500. Nothing to do here.


When I use the "ruby" runtime with the tinytds gem disabled, it succeeds, 
but usually fails in the last step:

Failure status: UNKNOWN: Error Response: [4] DEADLINE_EXCEEDED


When using the custom runtime, ulimit -n returns 1048576 from step 2. I've 
even done

> RUN ulimit -n
> RUN ulimit -n 8500
> RUN ulimit -n


and it returns 1048576. When I do that on a bare metal server, the second 
ulimit returns 8500.

Please advise. I'm losing my mind.

PS I'm not extremely fluent in Docker(files)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/885f7f60-ac76-4f4e-96f2-eea0de9829fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to