Re: NJS Questions and/or Bugs

2021-08-12 Thread Lance Dockins
a fairly straightforward request data access feature.  I guess I will just have to make due for now. -- Lance Dockins On Aug 12, 2021, 1:14 AM -0500, Dmitry Volyntsev , wrote: > Hi Lance, > > Thanks for your detailed feedback. > > > What exactly should r.variables and r.ra

Re: NJS Questions and/or Bugs

2021-08-11 Thread Lance Dockins
like this should be working better - in regards to the POST especially. -- Lance Dockins On Aug 11, 2021, 8:50 PM -0500, Sergey A. Osokin , wrote: > Hi Lance, > > hope you're doing well. > > On Wed, Aug 11, 2021 at 07:43:12PM -0500, Lance Dockins wrote: > > We’ve been e

NJS Questions and/or Bugs

2021-08-11 Thread Lance Dockins
and the tendency we’ve seen to get an empty object back out of JSON.stringify from what appears like it should be a fully filed out object has made it hard to get much headway into this. -- Lance Dockins ___ nginx mailing list nginx@nginx.org http

Re: NJS Questions and/or Bugs

2021-08-11 Thread Lance Dockins
doesn’t really change anything as well.  Here’s a screenshot along with the corresponding curl request that the app runs. https://share.wordkeeper.com/n4SEbeW3mUqZXtejjXsS -- Lance Dockins Minister of Magic WordKeeper Office: 405.585.2500 Cell: 405.306.7401 https://wordkeeper.com On Aug 11, 2021, 9:20

Re: NJS Questions and/or Bugs

2021-08-11 Thread Lance Dockins
of IF), it’s just not working. So either I have stumbled across some flaw in NJS or there’s a misunderstanding somewhere in the discussion. -- Lance Dockins On Aug 11, 2021, 10:00 PM -0500, Lance Dockins , wrote: > Unfortunately, we can’t really use standard packages.  We need extra modules.  >

Re: NJS Questions and/or Bugs

2021-08-11 Thread Lance Dockins
Oh… and to reiterate, I get similarly empty object responses when access the variables and rawVariables objects.  Most of them seem to be empty objects, actually. -- Lance Dockins On Aug 11, 2021, 9:31 PM -0500, Lance Dockins , wrote: > Hi Sergey, > > Sure.  The tool that I’m using

Re: NJS Questions and/or Bugs

2021-08-11 Thread Lance Dockins
 = JSON.parse(jObj);     } catch (err) {         r.return(400, 'Cannot parse jObj');         return;     }     r.return(200, jObj);     return; } export default {access} When I submit a POST with vars, I still get an empty object in the response. -- Lance Dockins On Aug 11, 2021, 9:42 PM -0500

Re: NJS Questions and/or Bugs

2021-08-11 Thread Lance Dockins
with OpenResty’s LuaJIT integration/module.  So it’s something that is different between NJS and that. Hopefully the debug will turn something up. -- Lance Dockins On Aug 11, 2021, 9:57 PM -0500, Sergey A. Osokin , wrote: > On Wed, Aug 11, 2021 at 09:48:48PM -0500, Lance Dockins wrote: > >

Re: NJS Questions and/or Bugs

2021-08-11 Thread Lance Dockins
{} -- Lance Dockins Minister of Magic WordKeeper Office: 405.585.2500 Cell: 405.306.7401 https://wordkeeper.com On Aug 11, 2021, 10:44 PM -0500, Lance Dockins , wrote: > Something is definitely wrong here but I’ve stripped most of the more > advanced configuration out of the vhost conf, remov

NJS FastCGI Response Filtering

2022-02-16 Thread Lance Dockins
ract with the response body from a FastCGI request. Does anyone have any ideas of how to just get the response body from a FastCGI request in NJS? Any insights would be a huge help. -- Lance Dockins ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Nginx + NJS 0.7.2 Refusing to Compile

2022-02-10 Thread Lance Dockins
can share would help immensely. -- Lance Dockins ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: Nginx + NJS 0.7.2 Refusing to Compile

2022-02-11 Thread Lance Dockins
such an error? -- Lance Dockins Minister of Magic WordKeeper Office: 405.585.2500 Cell: 405.306.7401 https://wordkeeper.com On Feb 11, 2022, 7:49 AM -0600, Sergey Kandaurov , wrote: > > > On 11 Feb 2022, at 04:35, Lance Dockins wrote: > > > > Hello all, > > > > I’m trying

Re: Nginx + NJS 0.7.2 Refusing to Compile

2022-02-11 Thread Lance Dockins
Oh.  I should also mention that I have been able to get this to compile on CentOS 8.  But it has failed on multiple different CentOS 7 machines. -- Lance Dockins Minister of Magic WordKeeper Office: 405.585.2500 Cell: 405.306.7401 https://wordkeeper.com On Feb 11, 2022, 7:49 AM -0600, Sergey

Re: Debugging Nginx Memory Spikes on Production Servers

2023-09-21 Thread Lance Dockins
keep spawning VMs and accumulating memory during a single request. Any thoughts? — Lance Dockins > On Thursday, Sep 21, 2023 at 1:45 AM, Dmitry Volyntsev (mailto:xei...@nginx.com)> wrote: > > On 20.09.2023 20:37, Lance Dockins wrote: > > So I guess my question at the moment

Re: Debugging Nginx Memory Spikes on Production Servers

2023-09-21 Thread Lance Dockins
form of file I/O at all (since the memory problems seem to be persistent whether doing reads or even log writes). — Lance Dockins > On Thursday, Sep 21, 2023 at 5:01 PM, Dmitry Volyntsev (mailto:xei...@nginx.com)> wrote: > > On 9/21/23 6:50 AM, Lance Dockins wrote: > > Hi

Unnecessary Log Entry?

2023-09-20 Thread Lance Dockins
ting good info out of the info log is proving to be difficult when the log is flooded with information that is just reaffirming that you have a setting in place to do exactly what the log is saying. Certainly we can grep around it too. But it's also bloating the info logs so that isn't gr

Debugging Nginx Memory Spikes on Production Servers

2023-09-20 Thread Lance Dockins
of spikes occur and are looking for any good insight into how to go about debugging that sort of thing on a production server. Any insights into how to go about troubleshooting it? -- Lance Dockins ___ nginx mailing list nginx@nginx.org https

Re: Debugging Nginx Memory Spikes on Production Servers

2023-09-26 Thread Lance Dockins
at the moment. — Lance Dockins > On Tuesday, Sep 26, 2023 at 5:51 PM, Dmitry Volyntsev (mailto:xei...@nginx.com)> wrote: > > On 9/26/23 8:30 AM, Lance Dockins wrote: > > Up until now, I had assumed that string.match types of statements were > > just transparently calling P

Re: Debugging Nginx Memory Spikes on Production Servers

2023-09-26 Thread Lance Dockins
uests) Thanks again for all of your feedback. — Lance Dockins > On Friday, Sep 22, 2023 at 8:34 AM, Me (mailto:la...@wordkeeper.com)> wrote: > I am checking the content type, yes. But in my case, I’m just switching > between body parsing methodologies depending on the body type. I do

Re: Debugging Nginx Memory Spikes on Production Servers

2023-09-20 Thread Lance Dockins
uld be appreicated. — Lance Dockins > On Wednesday, Sep 20, 2023 at 2:07 PM, Maxim Dounin (mailto:mdou...@mdounin.ru)> wrote: > Hello! > > On Wed, Sep 20, 2023 at 11:55:39AM -0500, Lance Dockins wrote: > > > Are there any best practices or processes for debugging sudden

Re: Unnecessary Log Entry?

2023-09-20 Thread Lance Dockins
Dockins > On Wednesday, Sep 20, 2023 at 1:41 PM, Maxim Dounin (mailto:mdou...@mdounin.ru)> wrote: > Hello! > > On Wed, Sep 20, 2023 at 11:47:48AM -0500, Lance Dockins wrote: > > > Is there a reason that Nginx continuously logs the sort of message below

Re: Debugging Nginx Memory Spikes on Production Servers

2023-09-22 Thread Lance Dockins
to use a workaround that limits when POST body parsing triggers. There’s just no way to do it at all under certain conditions right now. Thank you for all of your feedback and work on NJS and for filing the POST body provision in NJS into a feature request. — Lance Dockins > On Thursday, Sep

Re: How to compile Nginx with zlib-ng

2023-03-22 Thread Lance Dockins
ed to nginx development or > > > new features I'd suggest to use nginx-devel mailing list > > > instead, thank you. > > > > > > On Tue, Mar 21, 2023 at 04:06:00PM -0500, Lance Dockins wrote: > > > > > > > > Has anyone had success compilin

How to compile Nginx with zlib-ng

2023-03-21 Thread Lance Dockins
compile with Zlib NG, is there any documentation on what params to use in the Nginx compile command to get it to work? -- Lance Dockins ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: NJS Body File Access Race Condition?

2023-02-10 Thread Lance Dockins
If it matters, I’m using Nginx 1.23.3 and NJS 0.7.10 -- Lance Dockins On Feb 10, 2023 at 8:24 PM -0600, Lance Dockins , wrote: > NJS seems to be throwing an error when trying to access the temp body file > created for POST bodies that are larger than the client body buffer size. &g

Re: NJS Body File Access Race Condition?

2023-02-10 Thread Lance Dockins
is going to do what I’m describing), I’ll go with that. -- Lance Dockins On Feb 10, 2023 at 8:49 PM -0600, Dmitry Volyntsev , wrote: > Hi Lance, > > On 10.02.2023 18:24, Lance Dockins wrote: > > This sort of NJS behavior "seems" like some sort of race condition > >

NJS Body File Access Race Condition?

2023-02-10 Thread Lance Dockins
x itself) that might resolve the problem? Thanks in advance for any insights. -- Lance Dockins ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx