Send connman mailing list submissions to
        [email protected]

To subscribe or unsubscribe via email, send a message with subject or
body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."

Today's Topics:

   1. Re: Why connmand consume such higher CPU resource? (Daniel Wagner)
   2. Re: Why connmand consume such higher CPU resource? (JH)
   3. Re: Why connmand consume such higher CPU resource? (Daniel Wagner)
   4. Set up :q (JH)
   5. Re: Set up :q (JH)
   6. How to set up cellular.config with AccessPointName? (JH)


----------------------------------------------------------------------

Date: Sun, 5 Jan 2020 10:40:40 +0100
From: Daniel Wagner <[email protected]>
Subject: Re: Why connmand consume such higher CPU resource?
To: JH <[email protected]>
Cc: connman <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi,

On 05.01.20 03:32, JH wrote:
> I am running connman on Ubuntu 18.04..01, it consumed 100.0 %CPU in my
> laptop where no any communication tasks are running, Firefox was
> turned off as well:
> 
> PID USER  PR  NI  VIRT    RES    SHR  S  %CPU %MEM     TIME+ COMMAND
> 947 root      20   0   62540   3416   2608 R  100.0    0.1
> 164:06.54 connmand
> 
> Any idea why it consumes so high CPU time?

Probably an unintentionally busy loop in ConnMan. Do you have a log 
(connmand -n -d) when this happens?

And which version of ConnMan is this? We had a busy loop in the 
timeserver code till version 1.37.

Thanks,
Daniel

------------------------------

Date: Sun, 5 Jan 2020 21:49:51 +1100
From: JH <[email protected]>
Subject: Re: Why connmand consume such higher CPU resource?
To: Daniel Wagner <[email protected]>
Cc: connman <[email protected]>
Message-ID:
        <CAA=hcwtj6+tmxvdqxh-mhlmbjyy_n4drq4+zt5szbmz4vdt...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Hi Daniel,

On 1/5/20, Daniel Wagner <[email protected]> wrote:
> Hi,
>
> On 05.01.20 03:32, JH wrote:
>> I am running connman on Ubuntu 18.04..01, it consumed 100.0 %CPU in my
>> laptop where no any communication tasks are running, Firefox was
>> turned off as well:
>>
>> PID USER  PR  NI  VIRT    RES    SHR  S  %CPU %MEM     TIME+ COMMAND
>> 947 root      20   0   62540   3416   2608 R  100.0    0.1
>> 164:06.54 connmand
>>
>> Any idea why it consumes so high CPU time?
>
> Probably an unintentionally busy loop in ConnMan. Do you have a log
> (connmand -n -d) when this happens?

Looks it only occurred sometime, not clear in which circumstance it
was triggered. It does not happen now, I'll run the log when it
happens again.

> And which version of ConnMan is this? We had a busy loop in the
> timeserver code till version 1.37.

It is 1.35-6 in Ubuntu 18, good to know that version 1.37 fixed it,
I'll move to use 1.37.

Thanks Daniel.


> Thanks,
> Daniel
>

------------------------------

Date: Sun, 5 Jan 2020 12:47:41 +0100
From: Daniel Wagner <[email protected]>
Subject: Re: Why connmand consume such higher CPU resource?
To: JH <[email protected]>
Cc: connman <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi,

On 05.01.20 11:49, JH wrote:
>> Probably an unintentionally busy loop in ConnMan. Do you have a log
>> (connmand -n -d) when this happens?
> 
> Looks it only occurred sometime, not clear in which circumstance it
> was triggered. It does not happen now, I'll run the log when it
> happens again.

If you haven't enabled the log by default, maybe try to catch the 
syscalls ConnMan is doing with strace, e.g

        # strace -p $CONNMAN_PID -o /tmp/strace.conman.txt

for a few seconds. Maybe we can see what's going on.

>> And which version of ConnMan is this? We had a busy loop in the
>> timeserver code till version 1.37.
> 
> It is 1.35-6 in Ubuntu 18, good to know that version 1.37 fixed it,
> I'll move to use 1.37.

Yes, please use a newer version. The 1.35 has the time server busy loop 
bug. This happens when ConnMan starts up and can't connect to any of the 
time servers. ConnMan busy loops trying to connect to one of them. This 
goes on until the operation succeeds.

Thanks,
Daniel

------------------------------

Date: Mon, 6 Jan 2020 18:15:38 +1100
From: JH <[email protected]>
Subject: Set up :q
To: connman <[email protected]>
Message-ID:
        <CAA=hcwrdspb68fpc7msjtu-usf7-bfcc-nvr6dqbz4k7wzh...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"



------------------------------

Date: Mon, 6 Jan 2020 18:22:35 +1100
From: JH <[email protected]>
Subject: Re: Set up :q
To: connman <[email protected]>
Message-ID:
        <CAA=hcws0n50wa--8gzdp-b4mjuzy0eyhykaxe0jioepbqpn...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

My apology for mistyping the email.

------------------------------

Date: Mon, 6 Jan 2020 18:54:04 +1100
From: JH <[email protected]>
Subject: How to set up cellular.config with AccessPointName?
To: connman <[email protected]>
Message-ID:
        <CAA=hcwrjrsmpyrrchxpmloiw6a32uvqro7vo-19dbm0tvsw...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Hi,

Hi,

I cannot find any document for cellular.config syntax, can I I set up
AccessPointName in cellular.config?

I tried following file, it did not work, I know if I have a correct
Name = <SIM service provider>, it will work, but i don't know the name
of the service provider, I only knows the AccessPointName for Aeris
which I think that APN is a gateway to connect to its network.

$ vi /var/lib/connman/cellular.config

[global]
Name = cellular
Description = Cellular

[service_cellular]
Type = cellular
AccessPointName = iot-eu.aer.net

Appreciate your advice.

Thank you.

Kind regards,

- jh

------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list -- [email protected]
To unsubscribe send an email to [email protected]


------------------------------

End of connman Digest, Vol 51, Issue 5
**************************************

Reply via email to