Check where ‘erl’ is started in the following files:
If you start with ‘debug’ (like with ./start.sh):
src/scripts/zotonic-debug
If you start in the background (./bin/zotonic start):
src/scripts/zotonic-start
- Marc
> On 13 Feb 2019, at 09:48, heiheshang <[email protected]> wrote:
>
> how to run zotonic with this option?
>
> среда, 13 февраля 2019 г., 17:21:39 UTC+9 пользователь Marc Worrell написал:
> Hi,
>
> Can you try to start Erlang with the option: +S 4:4
> This gives you 4 schedulers.
>
> See if that works.
>
> - M
>
>> On 13 Feb 2019, at 02:52, heiheshang <[email protected] <>> wrote:
>>
>> I use a virtual machine, I have only one processor
>>
>> среда, 13 февраля 2019 г., 0:08:48 UTC+9 пользователь Marc Worrell написал:
>> Hi,
>>
>> I see "smp:1:1” in the system version.
>> It might help to use more threads.
>>
>> For example, the dev env I am right now working in says:
>>
>> Erlang/OTP 19 [erts-8.3] [source] [64-bit] [smp:12:12] [async-threads:10]
>> [hipe] [kernel-poll:false]
>>
>> Cheers, Marc
>>
>>
>>> On 12 Feb 2019, at 13:38, heiheshang <[email protected] <>> wrote:
>>>
>>> /opt/zotonic $ ./bin/zotonic debug
>>> erl_child_setup closed
>>>
>>> Crash dump is being written to: erl_crash.dump...done
>>>
>>>
>>> =erl_crash_dump:0.5
>>> Tue Feb 12 21:25:48 2019
>>> Slogan: erl_child_setup closed
>>> System version: Erlang/OTP 20 [erts-9.2.1] [source] [64-bit] [smp:1:1]
>>> [ds:1:1:10] [async-threads:10] [hipe] [kernel-poll:true]
>>> Compiled: Fri Feb 23 20:13:12 2018
>>> Taints: erl_tracer,zlib
>>> Atoms: 2257
>>> Calling Thread: scheduler:1
>>
>>
>> --
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Zotonic developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <>.
>> For more options, visit https://groups.google.com/d/optout
>> <https://groups.google.com/d/optout>.
>
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Zotonic developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
--
---
You received this message because you are subscribed to the Google Groups
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.